Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
NameValueCollectionExtensions Class
Collapse the table of content
Expand the table of content

NameValueCollectionExtensions Class

Extends a NameValueCollection object so that the collection can be copied to a specified dictionary.


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

public ref class NameValueCollectionExtensions abstract sealed

Public methodStatic memberCopyTo(NameValueCollection, IDictionary<String, Object>)Copies the specified collection to the specified destination.
Public methodStatic memberCopyTo(NameValueCollection, IDictionary<String, Object>, Boolean)Copies the specified collection to the specified destination, and optionally replaces previous entries.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft