Partilhar via


IVsHelpAttributeList.GetAttributeStatusIndex(Int32, Int32) Method

Definition

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

public:
 int GetAttributeStatusIndex(int index, [Runtime::InteropServices::Out] int % pfActive);
int GetAttributeStatusIndex(int index, [Runtime::InteropServices::Out] int & pfActive);
public int GetAttributeStatusIndex (int index, out int pfActive);
abstract member GetAttributeStatusIndex : int * int -> int
Public Function GetAttributeStatusIndex (index As Integer, ByRef pfActive As Integer) As Integer

Parameters

index
Int32

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

pfActive
Int32

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

Returns

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  
);  

Applies to