Workspace.ClearOpenDocument 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ClearOpenDocument(DocumentId) | |
ClearOpenDocument(DocumentId, Boolean) |
已淘汰.
|
ClearOpenDocument(DocumentId)
protected void ClearOpenDocument (Microsoft.CodeAnalysis.DocumentId documentId);
member this.ClearOpenDocument : Microsoft.CodeAnalysis.DocumentId -> unit
Protected Sub ClearOpenDocument (documentId As DocumentId)
參數
- documentId
- DocumentId
適用於
ClearOpenDocument(DocumentId, Boolean)
警告
The isSolutionClosing parameter is now obsolete. Please call the overload without that parameter.
[System.Obsolete("The isSolutionClosing parameter is now obsolete. Please call the overload without that parameter.")]
protected void ClearOpenDocument (Microsoft.CodeAnalysis.DocumentId documentId, bool isSolutionClosing);
[<System.Obsolete("The isSolutionClosing parameter is now obsolete. Please call the overload without that parameter.")>]
member this.ClearOpenDocument : Microsoft.CodeAnalysis.DocumentId * bool -> unit
Protected Sub ClearOpenDocument (documentId As DocumentId, isSolutionClosing As Boolean)
參數
- documentId
- DocumentId
- isSolutionClosing
- Boolean
- 屬性