Freigeben über


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
'Usage
Dim instance As IVsObjectManager2
Dim pIDataObject As IDataObject
Dim ppSymbols As IVsSelectedSymbols
Dim returnValue As Integer

returnValue = instance.ParseDataObject(pIDataObject, _
    ppSymbols)
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

Return Value

Type: System.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

See Also

Reference

IVsObjectManager2 Interface

IVsObjectManager2 Members

Microsoft.VisualStudio.Shell.Interop Namespace