Sdílet prostřednictvím


Project.GetAdditionalDocument(DocumentId) Method

Definition

Get the additional document in this project with the specified document Id.

public:
 Microsoft::CodeAnalysis::TextDocument ^ GetAdditionalDocument(Microsoft::CodeAnalysis::DocumentId ^ documentId);
public Microsoft.CodeAnalysis.TextDocument GetAdditionalDocument (Microsoft.CodeAnalysis.DocumentId documentId);
public Microsoft.CodeAnalysis.TextDocument? GetAdditionalDocument (Microsoft.CodeAnalysis.DocumentId documentId);
member this.GetAdditionalDocument : Microsoft.CodeAnalysis.DocumentId -> Microsoft.CodeAnalysis.TextDocument
Public Function GetAdditionalDocument (documentId As DocumentId) As TextDocument

Parameters

documentId
DocumentId

Returns

Applies to