次の方法で共有


Solution.GetDocument メソッド

定義

オーバーロード

GetDocument(SyntaxTree)

指定した構文ツリーを持つこのソリューション内のドキュメントを取得します。

GetDocument(DocumentId)

指定したドキュメント 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

指定した構文ツリーを持つこのソリューション内のドキュメントを取得します。

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

指定したドキュメント 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

パラメーター

documentId
DocumentId

戻り値

適用対象