Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CopyTo() [1/2]

void System.Xml.Schema.XmlSchemaObjectTable.ValuesCollection.CopyTo ( Array array,
int arrayIndex )
inline

Definition at line 86 of file XmlSchemaObjectTable.cs.

87 {
88 if (array == null)
89 {
90 throw new ArgumentNullException("array");
91 }
92 if (arrayIndex < 0)
93 {
94 throw new ArgumentOutOfRangeException("arrayIndex");
95 }
96 for (int i = 0; i < _size; i++)
97 {
98 array.SetValue(_entries[i].xso, arrayIndex++);
99 }
100 }

References System.Xml.Schema.XmlSchemaObjectTable.ValuesCollection._entries, System.Xml.Schema.XmlSchemaObjectTable.ValuesCollection._size, System.array, and System.arrayIndex.