Compartilhar via


IVsToolbox5.GetItemFlags(IDataObject, UInt32) Method

Definition

Gets the TBXITEMINFO flags for the item.

public:
 int GetItemFlags(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pDataObject, [Runtime::InteropServices::Out] System::UInt32 % pFlags);
int GetItemFlags(Microsoft::VisualStudio::OLE::Interop::IDataObject const & pDataObject, [Runtime::InteropServices::Out] unsigned int & pFlags);
public int GetItemFlags (Microsoft.VisualStudio.OLE.Interop.IDataObject pDataObject, out uint pFlags);
abstract member GetItemFlags : Microsoft.VisualStudio.OLE.Interop.IDataObject * uint32 -> int
Public Function GetItemFlags (pDataObject As IDataObject, ByRef pFlags As UInteger) As Integer

Parameters

pDataObject
IDataObject

The item as an IDataObject.

pFlags
UInt32

The TBXITEMINFO flags.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to