共用方式為


ClipboardCommandSet.ProcessOnMenuCutCommand 方法

將選取範圍複製到剪貼簿,並刪除模型中的項目。 覆寫這個方法以變更行為。

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll 中)

語法

'宣告
Protected Overridable Sub ProcessOnMenuCutCommand
protected virtual void ProcessOnMenuCutCommand()

備註

預設實作複製 EMF、點陣圖和 ElementGroupPrototype 到剪貼簿。

.NET Framework 安全性

請參閱

參考

ClipboardCommandSet 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間