Delen via


Solution.GetDocumentId Method

Definition

Overloads

GetDocumentId(SyntaxTree)

Gets the documentId in this solution with the specified syntax tree.

GetDocumentId(SyntaxTree, ProjectId)

Gets the documentId in this solution with the specified syntax tree.

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
Source:
Solution.cs

Gets the documentId in this solution with the specified syntax tree.

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

Parameters

syntaxTree
SyntaxTree

Returns

Applies to

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
Source:
Solution.cs

Gets the documentId in this solution with the specified syntax tree.

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

Parameters

syntaxTree
SyntaxTree
projectId
ProjectId

Returns

Applies to