HttpStaticObjectsCollection::CopyTo Method (Array^, Int32)

 

Copies members of an HttpStaticObjectsCollection into an array.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
virtual void CopyTo(
	Array^ array,
	int index
) sealed

Parameters

array
Type: System::Array^

The array to copy the HttpStaticObjectsCollection into.

index
Type: System::Int32

The member of the collection where copying starts.

The following example creates a new Object array of the required size and copies an existing StaticObjects collection into it.

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

.NET Framework
Available since 1.1
Return to top
Show: