IIndexWorkspaceService2.GetFileReferencesAsync Method

Definition

Return FileReferences for a set of file entities

public:
 System::Threading::Tasks::Task<System::Collections::Generic::IDictionary<System::String ^, System::Collections::Generic::IReadOnlyCollection<Microsoft::VisualStudio::Workspace::Indexing::FileReferenceResult ^> ^> ^> ^ GetFileReferencesAsync(System::Collections::Generic::IEnumerable<System::String ^> ^ filePaths, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IDictionary<string,System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.Indexing.FileReferenceResult>>> GetFileReferencesAsync (System.Collections.Generic.IEnumerable<string> filePaths, System.Threading.CancellationToken cancellationToken);
abstract member GetFileReferencesAsync : seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IDictionary<string, System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.Indexing.FileReferenceResult>>>
Public Function GetFileReferencesAsync (filePaths As IEnumerable(Of String), cancellationToken As CancellationToken) As Task(Of IDictionary(Of String, IReadOnlyCollection(Of FileReferenceResult)))

Parameters

filePaths
IEnumerable<String>

Enumerable of file paths

cancellationToken
CancellationToken

Cancellation token

Returns

Return Completion task with Dictionary of data

Applies to