다음을 통해 공유


Project.GetDocument 메서드

정의

오버로드

GetDocument(DocumentId)

지정된 문서 ID를 사용하여 이 프로젝트의 문서를 가져옵니다.

GetDocument(SyntaxTree)

지정된 구문 트리를 사용하여 이 프로젝트의 문서를 가져옵니다.

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
Source:
Project.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

반환

적용 대상

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
Source:
Project.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

반환

적용 대상