Bearbeiten

Freigeben über


XmlSchemaCollection.CopyTo(XmlSchema[], Int32) Method

Definition

Copies all the XmlSchema objects from this collection into the given array starting at the given index.

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

Parameters

array
XmlSchema[]

The array to copy the objects to.

index
Int32

The index in array where copying will begin.

Remarks

Important

The XmlSchemaCollection class is obsolete in the .NET Framework version 2.0 and has been replaced by the XmlSchemaSet class.

Applies to