Solution.GetDocumentId Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.