Export (0) Print
Expand All

VirtualDirectoryMappingCollection.CopyTo Method

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(
	VirtualDirectoryMapping[] array,
	int index
)

Parameters

array
Type: 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.

ExceptionCondition
ArgumentNullException

array is null.

ArgumentOutOfRangeException

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft