Share via


Workspace.IsDocumentOpen(DocumentId) Method

Definition

Determines if the document is currently open in the host environment.

public:
 virtual bool IsDocumentOpen(Microsoft::CodeAnalysis::DocumentId ^ documentId);
public virtual bool IsDocumentOpen (Microsoft.CodeAnalysis.DocumentId documentId);
abstract member IsDocumentOpen : Microsoft.CodeAnalysis.DocumentId -> bool
override this.IsDocumentOpen : Microsoft.CodeAnalysis.DocumentId -> bool
Public Overridable Function IsDocumentOpen (documentId As DocumentId) As Boolean

Parameters

documentId
DocumentId

Returns

Applies to