Project.GetAdditionalDocument(DocumentId) 方法

定义

获取此项目中具有指定文档 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

参数

documentId
DocumentId

返回

适用于