Share via


IVsHelpAttributeList.GetAttributeStatusIndex Method

Get the attribute's status by index. Also sets the position for other methods not specifying an index.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function GetAttributeStatusIndex ( _
    index As Integer, _
    <OutAttribute> ByRef pfActive As Integer _
) As Integer
int GetAttributeStatusIndex(
    int index,
    out int pfActive
)
int GetAttributeStatusIndex(
    [InAttribute] int index, 
    [OutAttribute] int% pfActive
)
abstract GetAttributeStatusIndex : 
        index:int * 
        pfActive:int byref -> int
function GetAttributeStatusIndex(
    index : int, 
    pfActive : int
) : int

Parameters

  • index
    Type: System.Int32

    [in] Index indicating the position of the attribute in the list.

  • pfActive
    Type: System.Int32%

    [out] Pointer to a Boolean. Set to true if the attribute is active.

Return Value

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsHelpAttributeList::GetAttributeStatusIndex(
   [in] int index, 
   [out] BOOL *pfActive
);

.NET Framework Security

See Also

Reference

IVsHelpAttributeList Interface

Microsoft.VisualStudio.Shell.Interop Namespace