ModelStateDictionary.CopyTo(KeyValuePair<String,ModelState>[], Int32) ModelStateDictionary.CopyTo(KeyValuePair<String,ModelState>[], Int32) ModelStateDictionary.CopyTo(KeyValuePair<String,ModelState>[], Int32) ModelStateDictionary.CopyTo(KeyValuePair<String,ModelState>[], Int32) Method

Definition

Kopiert die Elemente des Wörterbuchs in ein Array, wobei an einem angegebenen Index begonnen wird.Copies the elements of the dictionary to an array, starting at a specified index.

public:
 virtual void CopyTo(cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Web::ModelBinding::ModelState ^>> ^ array, int arrayIndex);
public void CopyTo (System.Collections.Generic.KeyValuePair<string,System.Web.ModelBinding.ModelState>[] array, int arrayIndex);
abstract member CopyTo : System.Collections.Generic.KeyValuePair<string, System.Web.ModelBinding.ModelState>[] * int -> unit
override this.CopyTo : System.Collections.Generic.KeyValuePair<string, System.Web.ModelBinding.ModelState>[] * int -> unit
Public Sub CopyTo (array As KeyValuePair(Of String, ModelState)(), arrayIndex As Integer)

Parameter

array
KeyValuePair<String,ModelState>[]

Das eindimensionale Array, welches das Ziel der aus dem Wörterbuch kopierten Elemente ist.The one-dimensional array that is the destination of the elements copied from the dictionary. Für das Array muss eine nullbasierte Indizierung verwendet werden.The array must have zero-based indexing.

arrayIndex
Int32 Int32 Int32 Int32

Der nullbasierte Index in array, ab dem kopiert wird.The zero-based index in array at which copying starts.

Gilt für: