다음을 통해 공유


IVsUIHierWinClipboardHelper.Copy(IDataObject) Method

Definition

Copies a data object from a hierarchy to the clipboard.

public:
 int Copy(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pDataObject);
public:
 int Copy(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pDataObject);
int Copy(Microsoft::VisualStudio::OLE::Interop::IDataObject const & pDataObject);
public int Copy (Microsoft.VisualStudio.OLE.Interop.IDataObject pDataObject);
abstract member Copy : Microsoft.VisualStudio.OLE.Interop.IDataObject -> int
Public Function Copy (pDataObject As IDataObject) As Integer

Parameters

pDataObject
IDataObject

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

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsUIHierWinClipboardHelper::Copy(  
   [in] IDataObject *pDataObject  
);  

Applies to