Partager via


Solution.GetAdditionalDocument(DocumentId) Method

Definition

Gets the additional document in this solution 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