共用方式為


Solution.GetDocumentIdsWithFilePath(String) Method

Definition

Gets the set of DocumentIds in this Solution with a FilePath that matches the given file path.

public:
 System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::DocumentId ^> GetDocumentIdsWithFilePath(System::String ^ filePath);
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DocumentId> GetDocumentIdsWithFilePath (string filePath);
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DocumentId> GetDocumentIdsWithFilePath (string? filePath);
member this.GetDocumentIdsWithFilePath : string -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DocumentId>
Public Function GetDocumentIdsWithFilePath (filePath As String) As ImmutableArray(Of DocumentId)

Parameters

filePath
String

Returns

Applies to