共用方式為


Project.GetAdditionalDocument(DocumentId) 方法

定義

使用指定的檔識別碼,取得此專案中的其他檔。

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

傳回

適用於