共用方式為


Solution.GetDocument 方法

定義

多載

GetDocument(SyntaxTree)

取得此方案中具有指定語法樹狀結構的檔。

GetDocument(DocumentId)

取得此方案中具有指定之檔識別碼的檔。

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

取得此方案中具有指定語法樹狀結構的檔。

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

參數

syntaxTree
SyntaxTree

傳回

適用於

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

取得此方案中具有指定之檔識別碼的檔。

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

參數

documentId
DocumentId

傳回

適用於