NameValueCollectionValueProvider Class
Collapse the table of content
Expand the table of content

NameValueCollectionValueProvider Class

Represents the base class for value providers whose values come from a NameValueCollection object.

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

public ref class NameValueCollectionValueProvider : IUnvalidatedValueProvider, 
	IEnumerableValueProvider, IValueProvider

The NameValueCollectionValueProvider type exposes the following members.

Public methodNameValueCollectionValueProvider(NameValueCollection, CultureInfo)Initializes a new instance of the NameValueCollectionValueProvider class.
Public methodNameValueCollectionValueProvider(NameValueCollection, NameValueCollection, CultureInfo)Initializes a new instance of the NameValueCollectionValueProvider class using the specified unvalidated collection.

Public methodContainsPrefixDetermines whether the collection contains the specified prefix.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetKeysFromPrefixGets the keys using the specified prefix.
Public methodGetType (Inherited from Object.)
Public methodGetValue(String)Returns a value object using the specified key.
Public methodGetValue(String, Boolean)Returns a value object using the specified key and validation directive.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

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