IVsToolbox5.GetItemFlags Method
Gets the TBXITEMINFO flags for the item.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function GetItemFlags ( _
pDataObject As IDataObject, _
<OutAttribute> ByRef pFlags As UInteger _
) As Integer
int GetItemFlags(
IDataObject pDataObject,
out uint pFlags
)
int GetItemFlags(
[InAttribute] IDataObject^ pDataObject,
[OutAttribute] unsigned int% pFlags
)
abstract GetItemFlags :
pDataObject:IDataObject *
pFlags:uint32 byref -> int
function GetItemFlags(
pDataObject : IDataObject,
pFlags : uint
) : int
Parameters
- pDataObject
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject
The item as an IDataObject.
- pFlags
Type: System.UInt32%
The TBXITEMINFO flags.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.