IVsUIHierWinClipboardHelper::Copy Method (IDataObject^)

 

Copies a data object from a hierarchy to the clipboard.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int Copy(
	IDataObject^ pDataObject
)

Parameters

pDataObject
Type: Microsoft.VisualStudio.OLE.Interop::IDataObject^

[in] Pointer to the IDataObject copied from the source hierarchy.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsUIHierWinClipboardHelper::Copy(
   [in] IDataObject *pDataObject
);
Return to top
Show: