共用方式為


IEditorOperations.Paste Method

Pastes text from the clipboard to the text buffer.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

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

Return Value

Type: System.Boolean
true if the edit and the clipboard operation both succeeded, otherwise false.

.NET Framework Security

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace