Compartilhar via


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

Return Value

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

.NET Framework Security

See Also

Reference

IVsToolbox5 Interface

Microsoft.VisualStudio.Shell.Interop Namespace