共用方式為


IEditorOperations.CanDelete 屬性

決定是否可以執行刪除作業。

命名空間:  Microsoft.VisualStudio.Text.Operations
組件:  Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)

語法

'宣告
ReadOnly Property CanDelete As Boolean
bool CanDelete { get; }
property bool CanDelete {
    bool get ();
}
abstract CanDelete : bool with get
function get CanDelete () : boolean

屬性值

類型:Boolean
true 如果刪除作業是可行的否則false。

.NET Framework 安全性

請參閱

參考

IEditorOperations 介面

Microsoft.VisualStudio.Text.Operations 命名空間