Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NameValueCollectionValueProvider Class

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

System.Object
  System.Web.Mvc.NameValueCollectionValueProvider
    System.Web.Mvc.FormValueProvider
    System.Web.Mvc.QueryStringValueProvider

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

public class NameValueCollectionValueProvider : IUnvalidatedValueProvider, 
	IEnumerableValueProvider, IValueProvider

The NameValueCollectionValueProvider type exposes the following members.

  NameDescription
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.
Top

  NameDescription
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.)
Top

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