AttributesGetByIndex Method (MWriterClass)
index of attribute
name of attribute
value of attribute
Gets attribute by its index.
Syntax
Public Overridable Sub AttributesGetByIndex( _
   ByVal _nIndex As Integer, _
   ByRef _pbsName As String, _
   ByRef _pbsValue As String _
) 
public virtual void AttributesGetByIndex( 
   int _nIndex,
   out string _pbsName,
   out string _pbsValue
)
public procedure AttributesGetByIndex( 
    _nIndex: Integer;
   Out  _pbsName: String;
   Out  _pbsValue: String
); virtual; 
public: virtual void AttributesGetByIndex( 
   int _nIndex,
   [PARAMFLAG::Out] BSTR* _pbsName,
   [PARAMFLAG::Out] BSTR* _pbsValue
) 

Parameters

_nIndex
index of attribute
_pbsName
name of attribute
_pbsValue
value of attribute
Example
Dim myName As String
Dim myValue As String
myAttributes.AttributesGetByIndex(1, myName, myValue)
string myName;
string myValue;
myAttributes.AttributesGetByIndex(1, out myName, out myValue);
var
myName, myValue: string;
begin
m_pAttributes.AttributesGetByIndex(1, myName, myValue);
end;
See Also

Reference

MWriterClass Class
MWriterClass Members