IVsObjectManager2.ParseDataObject Method
Parses the data object created by Class View during drag-drop or copy operations.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function ParseDataObject ( _
pIDataObject As IDataObject, _
<OutAttribute> ByRef ppSymbols As IVsSelectedSymbols _
) As Integer
int ParseDataObject(
IDataObject pIDataObject,
out IVsSelectedSymbols ppSymbols
)
int ParseDataObject(
[InAttribute] IDataObject^ pIDataObject,
[OutAttribute] IVsSelectedSymbols^% ppSymbols
)
abstract ParseDataObject :
pIDataObject:IDataObject *
ppSymbols:IVsSelectedSymbols byref -> int
function ParseDataObject(
pIDataObject : IDataObject,
ppSymbols : IVsSelectedSymbols
) : int
Parameters
pIDataObject
Type: Microsoft.VisualStudio.OLE.Interop.IDataObjectThe IDataObject:IUnknown that contains row data provided by Class View from drag-drop or copy operations.
ppSymbols
Type: Microsoft.VisualStudio.Shell.Interop.IVsSelectedSymbols%The symbols currently selected in Class View or Object Browser tools.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT ParseDataObject(
[in]IDataObject * pIDataObject,
[out] IVsSelectedSymbols ** ppSymbols
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.