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

◆ CopyTo() [1/2]

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

Definition at line 46 of file XmlSchemaObjectTable.cs.

47 {
48 if (array == null)
49 {
50 throw new ArgumentNullException("array");
51 }
52 if (arrayIndex < 0)
53 {
54 throw new ArgumentOutOfRangeException("arrayIndex");
55 }
56 for (int i = 0; i < _size; i++)
57 {
58 array.SetValue(_entries[i].qname, arrayIndex++);
59 }
60 }

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