Поделиться через


Solution.GetDocumentId Метод

Определение

Перегрузки

GetDocumentId(SyntaxTree)

Возвращает идентификатор documentId в этом решении с указанным деревом синтаксиса.

GetDocumentId(SyntaxTree, ProjectId)

Возвращает идентификатор documentId в этом решении с указанным деревом синтаксиса.

GetDocumentId(SyntaxTree)

Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs

Возвращает идентификатор 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

Возвращаемое значение

Применяется к

GetDocumentId(SyntaxTree, ProjectId)

Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs

Возвращает идентификатор documentId в этом решении с указанным деревом синтаксиса.

public:
 Microsoft::CodeAnalysis::DocumentId ^ GetDocumentId(Microsoft::CodeAnalysis::SyntaxTree ^ syntaxTree, Microsoft::CodeAnalysis::ProjectId ^ projectId);
public Microsoft.CodeAnalysis.DocumentId GetDocumentId (Microsoft.CodeAnalysis.SyntaxTree syntaxTree, Microsoft.CodeAnalysis.ProjectId projectId);
public Microsoft.CodeAnalysis.DocumentId? GetDocumentId (Microsoft.CodeAnalysis.SyntaxTree? syntaxTree, Microsoft.CodeAnalysis.ProjectId? projectId);
member this.GetDocumentId : Microsoft.CodeAnalysis.SyntaxTree * Microsoft.CodeAnalysis.ProjectId -> Microsoft.CodeAnalysis.DocumentId
Public Function GetDocumentId (syntaxTree As SyntaxTree, projectId As ProjectId) As DocumentId

Параметры

syntaxTree
SyntaxTree
projectId
ProjectId

Возвращаемое значение

Применяется к