Export (0) Print
Expand All

IVsHelpAttributeList.GetAttributeStatusVal Method

Gets the status of an attribute value.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

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.

Parameters

bstrValue

[in] Pointer to a string containing the value.

type

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

pfActive

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

Community Additions

ADD
Show:
© 2014 Microsoft