NameValueCollectionValueProvider NameValueCollectionValueProvider 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
NameValueCollectionValueProviderNameValueCollectionValueProviderNameValueCollectionValueProvider
Derived
Implements

Constructors

NameValueCollectionValueProvider(NameValueCollection, CultureInfo) NameValueCollectionValueProvider(NameValueCollection, CultureInfo) NameValueCollectionValueProvider(NameValueCollection, CultureInfo)

Initializes a new instance of the NameValueCollectionValueProvider class.

NameValueCollectionValueProvider(NameValueCollection, NameValueCollection, CultureInfo) NameValueCollectionValueProvider(NameValueCollection, NameValueCollection, CultureInfo) NameValueCollectionValueProvider(NameValueCollection, NameValueCollection, CultureInfo)

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

NameValueCollectionValueProvider(NameValueCollection, NameValueCollection, CultureInfo, Boolean) NameValueCollectionValueProvider(NameValueCollection, NameValueCollection, CultureInfo, Boolean) NameValueCollectionValueProvider(NameValueCollection, NameValueCollection, CultureInfo, Boolean)

Initializes Name Value collection provider.

Methods

ContainsPrefix(String) ContainsPrefix(String) ContainsPrefix(String)

Determines whether the collection contains the specified prefix.

GetKeysFromPrefix(String) GetKeysFromPrefix(String) GetKeysFromPrefix(String)

Gets the keys using the specified prefix.

GetValue(String) GetValue(String) GetValue(String)

Returns a value object using the specified key.

GetValue(String, Boolean) GetValue(String, Boolean) GetValue(String, Boolean)

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

Applies to