AttributesInfoGetByIndex Method (IMElement)
index of the attribute
name of the attribute
Get attribute information by index of the attribute.
Syntax
Sub AttributesInfoGetByIndex( _
   ByVal _nIndex As Integer, _
   ByRef _pbsName As String _
) 
void AttributesInfoGetByIndex( 
   int _nIndex,
   out string _pbsName
)
procedure AttributesInfoGetByIndex( 
    _nIndex: Integer;
   Out  _pbsName: String
); 
void AttributesInfoGetByIndex( 
   int _nIndex,
   [PARAMFLAG::Out] BSTR* _pbsName
) 

Parameters

_nIndex
index of the attribute
_pbsName
name of the attribute
Example
Dim myName As String
myAttributes.AttributesInfoGetByIndex(1, myName)
string myName;
myAttributes.AttributesInfoGetByIndex(1, out myName);
var
myName:string;
begin
m_pAttributes.AttributesInfoGet(1, myName);
end;
See Also

Reference

IMElement Interface
IMElement Members