XmlSchemaSet::CopyTo Method (array<XmlSchema^>^, Int32)

 

Copies all the XmlSchema objects from the XmlSchemaSet to the given array, starting at the given index.

Namespace:   System.Xml.Schema
Assembly:  System.Xml (in System.Xml.dll)

public:
void CopyTo(
	array<XmlSchema^>^ schemas,
	int index
)

Parameters

schemas
Type: array<System.Xml.Schema::XmlSchema^>^

The array to copy the objects to.

index
Type: System::Int32

The index in the array where copying will begin.

The following example copies all the XmlSchema objects in the XmlSchemaSet to an array of XmlSchema objects.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: