Compartilhar via


Project.GetDocumentId(SyntaxTree) Método

Definição

Obtenha a documentId neste projeto com a árvore de sintaxe especificada.

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

Parâmetros

syntaxTree
SyntaxTree

Retornos

Aplica-se a