Solution.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(SyntaxTree) |
Gets the document in this solution with the specified syntax tree. |
GetDocument(DocumentId) |
Gets the document in this solution with the specified document ID. |
GetDocument(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 document in this solution 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
GetDocument(DocumentId)
- 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 document in this solution 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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.