共用方式為


IEditorOperations.CanPaste 屬性

決定是否可以執行貼上作業。

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

語法

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

屬性值

類型:Boolean
true 如果貼上作業,否則false。

.NET Framework 安全性

請參閱

參考

IEditorOperations 介面

Microsoft.VisualStudio.Text.Operations 命名空間