NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ArrayList.CopyTo

Copies the ArrayList, or a portion of it, into a one-dimensional array.

Overload List

Copies a range of elements from the ArrayList into a compatible one-dimensional Array, starting at the specified index of the target array.

[Visual Basic] Overloads Overridable Public Sub CopyTo(Integer, Array, Integer, Integer)
[C#] public virtual void CopyTo(int, Array, int, int);
[C++] public: virtual void CopyTo(int, Array, int, int);
[JScript] public function CopyTo(int, Array, int, int);

Copies the entire ArrayList into a compatible one-dimensional Array, starting at the beginning of the target array.

[Visual Basic] Overloads Overridable Public Sub CopyTo(Array)
[C#] public virtual void CopyTo(Array);
[C++] public: virtual void CopyTo(Array*);
[JScript] public function CopyTo(Array);

Copies the entire ArrayList into a compatible one-dimensional Array, starting at the specified index of the target array.

[Visual Basic] Overloads Overridable Public Sub CopyTo(Array, Integer)
[C#] public virtual void CopyTo(Array, int);
[C++] public: virtual void CopyTo(Array*, int);
[JScript] public function CopyTo(Array, int);

See Also

ArrayList Class | ArrayList Members | System.Collections Namespace