XmlAnyElementAttributes.CopyTo(XmlAnyElementAttribute[], Int32) Method

Definition

Copies the entire collection to a compatible one-dimensional array of XmlElementAttribute objects, starting at the specified index of the target array.

public:
 void CopyTo(cli::array <System::Xml::Serialization::XmlAnyElementAttribute ^> ^ array, int index);
public void CopyTo (System.Xml.Serialization.XmlAnyElementAttribute[] array, int index);
member this.CopyTo : System.Xml.Serialization.XmlAnyElementAttribute[] * int -> unit
Public Sub CopyTo (array As XmlAnyElementAttribute(), index As Integer)

Parameters

array
XmlAnyElementAttribute[]

The one-dimensional array of XmlElementAttribute objects that is the destination of the elements copied from the collection. The array must have zero-based indexing.

index
Int32

The zero-based index in array at which copying begins.

Applies to