VsTextViewClass::GetSelectionDataObject Method (IDataObject^)
Visual Studio 2015
Returns a copy of the selected text in IDataObject interface format.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- ppIDataObject
-
Type:
Microsoft.VisualStudio.OLE.Interop::IDataObject^
[out] Pointer to an IDataObject object containing the selected text.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: