Project.GetDocument 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
GetDocument(DocumentId) |
Get the document in this project with the specified document Id. |
GetDocument(SyntaxTree) |
Get the document in this project with the specified syntax tree. |
GetDocument(DocumentId)
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
Get the document in this project with the specified document Id.
public:
Microsoft::CodeAnalysis::Document ^ GetDocument(Microsoft::CodeAnalysis::DocumentId ^ documentId);
public Microsoft.CodeAnalysis.Document GetDocument (Microsoft.CodeAnalysis.DocumentId documentId);
public Microsoft.CodeAnalysis.Document? GetDocument (Microsoft.CodeAnalysis.DocumentId documentId);
member this.GetDocument : Microsoft.CodeAnalysis.DocumentId -> Microsoft.CodeAnalysis.Document
Public Function GetDocument (documentId As DocumentId) As Document
Parameters
- documentId
- DocumentId
Returns
Applies to
GetDocument(SyntaxTree)
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
- Source:
- Project.cs
Get the document in this project with the specified syntax tree.
public:
Microsoft::CodeAnalysis::Document ^ GetDocument(Microsoft::CodeAnalysis::SyntaxTree ^ syntaxTree);
public Microsoft.CodeAnalysis.Document GetDocument (Microsoft.CodeAnalysis.SyntaxTree syntaxTree);
public Microsoft.CodeAnalysis.Document? GetDocument (Microsoft.CodeAnalysis.SyntaxTree? syntaxTree);
member this.GetDocument : Microsoft.CodeAnalysis.SyntaxTree -> Microsoft.CodeAnalysis.Document
Public Function GetDocument (syntaxTree As SyntaxTree) As Document
Parameters
- syntaxTree
- SyntaxTree
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.