ProjectNode.PasteFromClipboard Method

Handles the paste operation on a project node.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Protected Friend Overrides Function PasteFromClipboard ( _
    targetNode As HierarchyNode _
) As Integer
'使用
Dim targetNode As HierarchyNode
Dim returnValue As Integer

returnValue = Me.PasteFromClipboard(targetNode)
protected internal override int PasteFromClipboard(
    HierarchyNode targetNode
)
protected public:
virtual int PasteFromClipboard(
    HierarchyNode^ targetNode
) override
protected internal override function PasteFromClipboard(
    targetNode : HierarchyNode
) : int

Parameters

Return Value

Type: System.Int32

E_UNEXPECTED if no data could be gotten from the clipboard, E_FAIL if the IVsUIHierWinClipboardHelper could not be obtained, otherwise S_OK or an error code that was returned from the paste operation.

Permissions

See Also

Reference

ProjectNode Class

ProjectNode Members

Microsoft.VisualStudio.Package Namespace