IVsHelpAttributeList::GetAttributeStatusIndex Method (Int32, Int32)

 

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)

int GetAttributeStatusIndex(
	int index,
	[OutAttribute] int% pfActive
)

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.

From vsshell80.idl:

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