Partager via


IVsDataExplorerNode.Copy Method

Creates a copy of the current node.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Function Copy As IDataObject
IDataObject Copy()
IDataObject^ Copy()
abstract Copy : unit -> IDataObject
function Copy() : IDataObject

Return Value

Type: System.Windows.Forms.IDataObject
An IDataObject object representing a copy of the current node.

Remarks

This method executes the copy command on the current node and then returns the data object from the Clipboard.

.NET Framework Security

See Also

Reference

IVsDataExplorerNode Interface

Microsoft.VisualStudio.Data.Services Namespace