IVsHelpAttributeList.GetAttributeValue Method (Int32, ATTRVALUETYPE, String)
Visual Studio 2015
Get the attribute's value by index. Also sets the position for other methods not specifying an index.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- index
-
Type:
System.Int32
[in] Index indicating the position of the attribute in the list.
- 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.
- pbstrValue
-
Type:
System.String
[out] Pointer to a string containing the attribute value.
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::GetAttributeValue( [in] int index, [in] ATTRVALUETYPE type, [out] BSTR *pbstrValue );
Show: