NameValueCollectionValueProvider Class

Definition

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

public class NameValueCollectionValueProvider : System.Web.Mvc.IEnumerableValueProvider, System.Web.Mvc.IUnvalidatedValueProvider
type NameValueCollectionValueProvider = class
    interface IValueProvider
    interface IUnvalidatedValueProvider
    interface IEnumerableValueProvider
Public Class NameValueCollectionValueProvider
Implements IEnumerableValueProvider, IUnvalidatedValueProvider
Inheritance
NameValueCollectionValueProvider
Derived
Implements

Constructors

NameValueCollectionValueProvider(NameValueCollection, CultureInfo)

Initializes a new instance of the NameValueCollectionValueProvider class.

NameValueCollectionValueProvider(NameValueCollection, NameValueCollection, CultureInfo, Boolean)

Initializes Name Value collection provider.

NameValueCollectionValueProvider(NameValueCollection, NameValueCollection, CultureInfo)

Initializes a new instance of the NameValueCollectionValueProvider class using the specified unvalidated collection.

Methods

ContainsPrefix(String)

Determines whether the collection contains the specified prefix.

GetKeysFromPrefix(String)

Gets the keys using the specified prefix.

GetValue(String, Boolean)

Returns a value object using the specified key and validation directive.

GetValue(String)

Returns a value object using the specified key.

Applies to