May 11, 2014
Gets or sets the level in a hierarchy of XML elements that the XmlArrayItemAttribute affects.
Assembly: System.Xml (in System.Xml.dll)
An XML document can contain hierarchies of XML elements. To represent such a hierarchy, an array of arrays is used. In such an array, each index represents a level in the hierarchy. Therefore, the property is used only when applying an XmlArrayItemAttribute to a field that returns an array of arrays.
When applying the attribute, specify which hierarchy level the attribute affects by setting the . The first index always has the value of 0; therefore, it is optional to set its . An XmlArrayItemAttribute without a value is applied to the first array index. Only the subsequent XmlArrayItemAttribute objects require values specified (as 1, 2, 3, and so forth).