Class NameValueCollectionExtensions
Extends a NameValueCollection object so that the collection can be copied to a specified dictionary.
public static class NameValueCollectionExtensions
- Inheritance
-
NameValueCollectionExtensions
- Inherited Members
Methods
CopyTo(NameValueCollection, IDictionary<string, object>)
Copies the specified collection to the specified destination.
public static void CopyTo(this NameValueCollection collection, IDictionary<string, object> destination)
Parameters
collection
NameValueCollectionThe collection.
destination
IDictionary<string, object>The destination.
CopyTo(NameValueCollection, IDictionary<string, object>, bool)
Copies the specified collection to the specified destination, and optionally replaces previous entries.
public static void CopyTo(this NameValueCollection collection, IDictionary<string, object> destination, bool replaceEntries)
Parameters
collection
NameValueCollectionThe collection.
destination
IDictionary<string, object>The destination.
replaceEntries
booltrue to replace previous entries; otherwise, false.