Freigeben über


IIndexWorkspaceService.GetDependentFilesAsync Method

Definition

Return dependent files on a file contained in our workspace

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Workspace.Indexing.FileReferenceResult>> GetDependentFilesAsync (string filePath, string target = default, string context = default, params int[] referenceTypes);
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Workspace.Indexing.FileReferenceResult>> GetDependentFilesAsync (string filePath, string? target = default, string? context = default, params int[] referenceTypes);
abstract member GetDependentFilesAsync : string * string * string * int[] -> 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, ParamArray referenceTypes As Integer()) 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)

referenceTypes
Int32[]

reference types

Returns

list of dependent files

Applies to