Condividi tramite


IVsHelpAttributeList.GetAttributeName(String) Method

Definition

Gets the name of the attribute of the item at the current index set by GetAttributeStatusIndex(Int32, Int32) or GetAttributeValue(Int32, ATTRVALUETYPE, String).

public:
 int GetAttributeName([Runtime::InteropServices::Out] System::String ^ % bstrName);
int GetAttributeName([Runtime::InteropServices::Out] std::wstring const & & bstrName);
public int GetAttributeName (out string bstrName);
abstract member GetAttributeName : string -> int
Public Function GetAttributeName (ByRef bstrName As String) As Integer

Parameters

bstrName
String

[out] String containing the attribute name.

Returns

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

Notes

Applies to