Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VirtualDirectoryMappingCollection::CopyTo Method (array<VirtualDirectoryMapping^>^, Int32)

 

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

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

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

Parameters

array
Type: array<System.Web.Configuration::VirtualDirectoryMapping^>^

A one-dimensional Array that is the destination of the elements copied from the VirtualDirectoryMappingCollection. The Array must have zero-based indexing.

index
Type: System::Int32

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

Exception Condition
ArgumentNullException

array is null.

ArgumentOutOfRangeException

The Length property of array is less than the value of Count plus index.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft