Share via


NameValueCollectionExtensions.CopyTo Method

Definition

Overloads

CopyTo(NameValueCollection, IDictionary<String,Object>)

Copies the specified collection to the specified destination.

CopyTo(NameValueCollection, IDictionary<String,Object>, Boolean)

Copies the specified collection to the specified destination, and optionally replaces previous entries.

CopyTo(NameValueCollection, IDictionary<String,Object>)

Copies the specified collection to the specified destination.

public static void CopyTo (this System.Collections.Specialized.NameValueCollection collection, System.Collections.Generic.IDictionary<string,object> destination);
static member CopyTo : System.Collections.Specialized.NameValueCollection * System.Collections.Generic.IDictionary<string, obj> -> unit
<Extension()>
Public Sub CopyTo (collection As NameValueCollection, destination As IDictionary(Of String, Object))

Parameters

collection
NameValueCollection

The collection.

destination
IDictionary<String,Object>

The destination.

Applies to

CopyTo(NameValueCollection, IDictionary<String,Object>, Boolean)

Copies the specified collection to the specified destination, and optionally replaces previous entries.

public static void CopyTo (this System.Collections.Specialized.NameValueCollection collection, System.Collections.Generic.IDictionary<string,object> destination, bool replaceEntries);
static member CopyTo : System.Collections.Specialized.NameValueCollection * System.Collections.Generic.IDictionary<string, obj> * bool -> unit
<Extension()>
Public Sub CopyTo (collection As NameValueCollection, destination As IDictionary(Of String, Object), replaceEntries As Boolean)

Parameters

collection
NameValueCollection

The collection.

destination
IDictionary<String,Object>

The destination.

replaceEntries
Boolean

true to replace previous entries; otherwise, false.

Applies to