IVsUIHierWinClipboardHelper.Cut(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.
Cuts a data object from a hierarchy to the clipboard.
public:
int Cut(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pDataObject);
public:
int Cut(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pDataObject);
int Cut(Microsoft::VisualStudio::OLE::Interop::IDataObject const & pDataObject);
public int Cut (Microsoft.VisualStudio.OLE.Interop.IDataObject pDataObject);
abstract member Cut : Microsoft.VisualStudio.OLE.Interop.IDataObject -> int
Public Function Cut (pDataObject As IDataObject) As Integer
Parameters
- pDataObject
- IDataObject
[in] Pointer to a data object cut 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::Cut(
[in] IDataObject *pDataObject
);
When an item is cut from the source hierarchy, change the appearance of the cut item by calling ExpandItem and specifying a value of either EXPF_CutHighlightItem or EXPF_AddCutHighlightItem, as appropriate.