共用方式為


IEditorOperations.Paste 方法

將剪貼簿中的文字貼至文字緩衝區。

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

語法

'宣告
Function Paste As Boolean
bool Paste()
bool Paste()
abstract Paste : unit -> bool
function Paste() : boolean

傳回值

類型:Boolean
如果編輯和剪貼簿作業都成功,則為 true,否則為 false。

.NET Framework 安全性

請參閱

參考

IEditorOperations 介面

Microsoft.VisualStudio.Text.Operations 命名空間