IVsToolbox5.GetItemFlags(IDataObject, UInt32) Method

Definition

Gets the TBXITEMINFO flags for the item.

int GetItemFlags(Microsoft::VisualStudio::OLE::Interop::IDataObject const & pDataObject, [Runtime::InteropServices::Out] unsigned int & pFlags);

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