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

‘선언
Function GetAttributeName ( _
    <OutAttribute> ByRef bstrName As String _
) As Integer
‘사용 방법
Dim instance As IVsHelpAttributeList
Dim bstrName As String
Dim returnValue As Integer

returnValue = instance.GetAttributeName(bstrName)
int GetAttributeName(
    out string bstrName
)
int GetAttributeName(
    [OutAttribute] String^% bstrName
)
abstract GetAttributeName : 
        bstrName:string byref -> int 
function GetAttributeName(
    bstrName : String
) : int

Parameters

  • bstrName
    Type: System.String%
    [out] String containing the attribute name.

Return Value

Type: System.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

See Also

Reference

IVsHelpAttributeList Interface

IVsHelpAttributeList Members

Microsoft.VisualStudio.Shell.Interop Namespace