This documentation is archived and is not being maintained.

IVsHelpAttributeList.GetAttributeStatusVal Method

Gets the status of an attribute value.

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

int GetAttributeStatusVal (
	[InAttribute] string bstrValue,
	[InAttribute] ATTRVALUETYPE type,
	out int pfActive
int GetAttributeStatusVal (
	/** @attribute InAttribute() */ String bstrValue, 
	/** @attribute InAttribute() */ ATTRVALUETYPE type, 
	/** @attribute OutAttribute() */ /** @ref */ int pfActive
JScript does not support passing value-type arguments by reference.



[in] Pointer to a string containing the value.


[in] An ATTRVALUETYPE indicating the type of the attribute: VSHAL_Real for the actual attribute, VSHAL_Display for the display attribute.


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

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell80.idl:

HRESULT IVsHelpAttributeList::GetAttributeStatusVal(
   [in] BSTR bstrValue, 
   [in] ATTRVALUETYPE type,    [out] BOOL *pfActive