Share via


IIndexWorkspaceData.GetDependentFilesAsync Method

Definition

Return cached File Dependents info

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Workspace.Indexing.FileReferenceResult>> GetDependentFilesAsync (string filePath, string target = default, string context = default, System.Threading.CancellationToken cancellationToken = default);
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Workspace.Indexing.FileReferenceResult>> GetDependentFilesAsync (string filePath, string? target = default, string? context = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDependentFilesAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.VisualStudio.Workspace.Indexing.FileReferenceResult>>
Public Function GetDependentFilesAsync (filePath As String, Optional target As String = Nothing, Optional context As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of FileReferenceResult))

Parameters

filePath
String

File entity path

target
String

Target for the reference (or null)

context
String

Context for the reference (or null)

cancellationToken
CancellationToken

Cancellation token

Returns

Completion task with results

Applies to