Project.GetDocumentId(SyntaxTree) メソッド

定義

指定した構文ツリーを使用して、このプロジェクトの documentId を取得します。

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

パラメーター

syntaxTree
SyntaxTree

戻り値

適用対象