Click or drag to resize

WorkspaceCheckDocumentIsNotInCurrentSolution Method



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

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis.Workspaces (in Microsoft.CodeAnalysis.Workspaces.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
protected void CheckDocumentIsNotInCurrentSolution(
	DocumentId documentId
)

Parameters

documentId
Type: Microsoft.CodeAnalysisDocumentId
See Also