XdmReader.GetAttribute Method (int)XdmReader.GetAttribute Method (Integer)XdmReader::GetAttribute Method (int)
- XmlPrime 2.9
- Other Versions ▼
Gets the value of the attribute with the specified index.
- Namespace: XmlPrime.SerializationXmlPrime.SerializationXmlPrime.Serialization
- Assembly: XmlPrime (in XmlPrime.dll)
Parameters
- i
Type: System.Int32System.Int32System::Int32
The index of the attribute. The index is zero-based. (The first attribute has index 0.)
Return Value
Type: System.StringSystem.StringSystem::String^
The value of the specified attribute. This method does not move the reader.
Exceptions
Exception | Condition |
ArgumentOutOfRangeExceptionArgumentOutOfRangeExceptionArgumentOutOfRangeException | i is out of range. It must be non-negative and less than the size of the attribute collection. |