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

‘선언
Function GetAttributeStatusIndex ( _
    index As Integer, _
    <OutAttribute> ByRef pfActive As Integer _
) As Integer
‘사용 방법
Dim instance As IVsHelpAttributeList
Dim index As Integer
Dim pfActive As Integer
Dim returnValue As Integer

returnValue = instance.GetAttributeStatusIndex(index, _
    pfActive)
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

IVsHelpAttributeList Members

Microsoft.VisualStudio.Shell.Interop Namespace