IVsHelpAttributeList.GetAttributeName Method
Gets the name of the attribute of the item at the current index set by GetAttributeStatusIndex or GetAttributeValue.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetAttributeName ( _
<OutAttribute> ByRef bstrName As String _
) As Integer
int GetAttributeName(
out string bstrName
)
int GetAttributeName(
[OutAttribute] String^% bstrName
)
abstract GetAttributeName :
bstrName:string byref -> int
function GetAttributeName(
bstrName : String
) : int
Parameters
bstrName
Type: String%[out] String containing the attribute name.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsHelpAttributeList::GetAttributeName(
[out] BSTR *bstrName
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.