IIndexWorkspaceService.GetFilesAsync(String, CancellationToken) Método

Definição

Obter arquivos de nossas entidades com uma correspondência de padrões

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))

Parâmetros

pattern
String

Padrão a ser pesquisado

cancellationToken
CancellationToken

Token de cancelamento

Retornos

Task<IReadOnlyCollection<String>>

Lista de arquivos que correspondem aos critérios

Aplica-se a