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

适用于