Share via


Workspace.CheckDocumentIsNotInCurrentSolution(DocumentId) Method

Definition

Throws an exception if a document is already part of the current solution.

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

Parameters

documentId
DocumentId

Applies to