IIndexWorkspaceService.GetFilesAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get Files from our entities with a pattern matching
public:
System::Threading::Tasks::Task<System::Collections::Generic::IReadOnlyCollection<System::String ^> ^> ^ GetFilesAsync(System::String ^ pattern, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<string>> GetFilesAsync (string pattern, System.Threading.CancellationToken cancellationToken);
abstract member GetFilesAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<string>>
Public Function GetFilesAsync (pattern As String, cancellationToken As CancellationToken) As Task(Of IReadOnlyCollection(Of String))
Parameters
- pattern
- String
Pattern to look for
- cancellationToken
- CancellationToken
Cancellation token
Returns
List of files that match the criteria