次の方法で共有


IVsObjectManager2.ParseDataObject(IDataObject, IVsSelectedSymbols) Method

Definition

Parses the data object created by Class View during drag-drop or copy operations.

public:
 int ParseDataObject(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pIDataObject, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSelectedSymbols ^ % ppSymbols);
public:
 int ParseDataObject(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pIDataObject, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSelectedSymbols ^ &  ppSymbols);
int ParseDataObject(Microsoft::VisualStudio::OLE::Interop::IDataObject const & pIDataObject, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSelectedSymbols const & & ppSymbols);
public int ParseDataObject (Microsoft.VisualStudio.OLE.Interop.IDataObject pIDataObject, out Microsoft.VisualStudio.Shell.Interop.IVsSelectedSymbols ppSymbols);
abstract member ParseDataObject : Microsoft.VisualStudio.OLE.Interop.IDataObject * IVsSelectedSymbols -> int
Public Function ParseDataObject (pIDataObject As IDataObject, ByRef ppSymbols As IVsSelectedSymbols) As Integer

Parameters

pIDataObject
IDataObject

The IDataObject:IUnknown that contains row data provided by Class View from drag-drop or copy operations.

ppSymbols
IVsSelectedSymbols

The symbols currently selected in Class View or Object Browser tools.

Returns

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  
);  

Applies to