IVsUIHierWinClipboardHelper.Copy(IDataObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);