共用方式為


Workspace.CheckAdditionalDocumentIsInCurrentSolution(DocumentId) 方法

定義

如果其他檔不是目前解決方案的一部分,則會擲回例外狀況。

protected:
 void CheckAdditionalDocumentIsInCurrentSolution(Microsoft::CodeAnalysis::DocumentId ^ documentId);
protected void CheckAdditionalDocumentIsInCurrentSolution (Microsoft.CodeAnalysis.DocumentId documentId);
member this.CheckAdditionalDocumentIsInCurrentSolution : Microsoft.CodeAnalysis.DocumentId -> unit
Protected Sub CheckAdditionalDocumentIsInCurrentSolution (documentId As DocumentId)

參數

documentId
DocumentId

適用於