IVsHelpAttributeList.GetAttributeStatusIndex(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);