Editar

Partilhar via


XmlNamespaceMappingCollection.CopyTo(XmlNamespaceMapping[], Int32) Method

Definition

Copies the items of the collection to the specified array, starting at the specified index.

public:
 virtual void CopyTo(cli::array <System::Windows::Data::XmlNamespaceMapping ^> ^ array, int arrayIndex);
public void CopyTo (System.Windows.Data.XmlNamespaceMapping[] array, int arrayIndex);
abstract member CopyTo : System.Windows.Data.XmlNamespaceMapping[] * int -> unit
override this.CopyTo : System.Windows.Data.XmlNamespaceMapping[] * int -> unit
Public Sub CopyTo (array As XmlNamespaceMapping(), arrayIndex As Integer)

Parameters

array
XmlNamespaceMapping[]

The array that is the destination of the items copied from the collection.

arrayIndex
Int32

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

Implements

Exceptions

If array is null.

If the number of items exceed the length of the array.

Applies to