IVsHelpAttributeList.GetAttributeStatusVal Method (String, ATTRVALUETYPE, Int32)
Visual Studio 2015
Gets the status of an attribute value.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- bstrValue
-
Type:
System.String
[in] Pointer to a string containing the value.
- type
-
Type:
Microsoft.VisualStudio.Shell.Interop.ATTRVALUETYPE
[in] An ATTRVALUETYPE indicating the type of the attribute: VSHAL_Real for the actual attribute, VSHAL_Display for the display attribute.
- pfActive
-
Type:
System.Int32
[out] Boolean. Set to true if the attribute is active.
Return Value
Type: System.Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT IVsHelpAttributeList::GetAttributeStatusVal( [in] BSTR bstrValue, [in] ATTRVALUETYPE type, [out] BOOL *pfActive );
Show: