Freigeben über


NameValueCollectionExtensions Class

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

Inheritance Hierarchy

System.Object
  System.Web.Mvc.NameValueCollectionExtensions

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class NameValueCollectionExtensions
public static class NameValueCollectionExtensions
[ExtensionAttribute]
public ref class NameValueCollectionExtensions abstract sealed

Methods

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

Top

Thread Safety

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

See Also

Reference

System.Web.Mvc Namespace