Share via


Workspace.CheckAdditionalDocumentIsInCurrentSolution(DocumentId) Method

Definition

Throws an exception if an additional document is not part of the current solution.

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)

Parameters

documentId
DocumentId

Applies to