XmlAnyElementAttributes::CopyTo Method (array<XmlAnyElementAttribute^>^, Int32)

 
Use BaseTrue

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

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

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

Parameters

array
Type: array<System.Xml.Serialization::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
Type: System::Int32

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: