Project.GetDocumentId(SyntaxTree) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Rufen Sie die documentId in diesem Projekt mit der angegebenen Syntaxstruktur ab.
public:
Microsoft::CodeAnalysis::DocumentId ^ GetDocumentId(Microsoft::CodeAnalysis::SyntaxTree ^ syntaxTree);
public Microsoft.CodeAnalysis.DocumentId GetDocumentId(Microsoft.CodeAnalysis.SyntaxTree syntaxTree);
public Microsoft.CodeAnalysis.DocumentId? GetDocumentId(Microsoft.CodeAnalysis.SyntaxTree? syntaxTree);
member this.GetDocumentId : Microsoft.CodeAnalysis.SyntaxTree -> Microsoft.CodeAnalysis.DocumentId
Public Function GetDocumentId (syntaxTree As SyntaxTree) As DocumentId
Parameter
- syntaxTree
- SyntaxTree