Megosztás a következőn keresztül:


HeaderDictionary.CopyTo Method

Definition

Copies the HeaderDictionary elements to a one-dimensional Array instance at the specified index.

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

Parameters

array
KeyValuePair<String,StringValues>[]

The one-dimensional Array that is the destination of the specified objects copied from the HeaderDictionary.

arrayIndex
Int32

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

Implements

Applies to