ValidatorCollection.CopyTo Method (Array, Int32)

 

Copies the validator collection to the specified array, beginning at the specified location.

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

abstract CopyTo : 
        array:Array *
        index:int -> unit
override CopyTo : 
        array:Array *
        index:int -> unit

Parameters

array
Type: System.Array

The collection to which the validation server control is added.

index
Type: System.Int32

The index where the validation server control is copied.

The following code example demonstrates using the CopyTo method.

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

.NET Framework
Available since 1.1
Return to top
Show: