Workspace.IsDocumentOpen(DocumentId) 方法

定义

确定文档当前是否在主机环境中打开。

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

参数

documentId
DocumentId

返回

适用于