共用方式為


ClipboardCommandSet.ProcessOnMenuPasteCommand 方法

將剪貼簿內容插入至模型。 覆寫這個方法以變更行為。

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

語法

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

備註

預設實作會在剪貼簿和嘗試的 ElementGroupPrototype 合併到目前的選取範圍。

.NET Framework 安全性

請參閱

參考

ClipboardCommandSet 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間