Share via


Workspace.CheckDocumentIsInCurrentSolution(DocumentId) Method

Definition

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

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

Parameters

documentId
DocumentId

Applies to