共用方式為


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

傳回

適用於