Pastes an item from the clipboard.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Protected Friend Overridable Function PasteFromClipboard ( _
targetNode As HierarchyNode _
) As Integer
'使用
Dim targetNode As HierarchyNode
Dim returnValue As Integer
returnValue = Me.PasteFromClipboard(targetNode)
protected internal virtual int PasteFromClipboard(
HierarchyNode targetNode
)
protected public:
virtual int PasteFromClipboard(
HierarchyNode^ targetNode
)
protected internal function PasteFromClipboard(
targetNode : HierarchyNode
) : int
Parameters
targetNode
Type: Microsoft.VisualStudio.Package.HierarchyNodeThe node into which the item is to be pasted.
Return Value
Type: System.Int32
Returns E_NOTIMPL.
Remarks
This method is typically overriden on the project node.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.