NameValueCollectionValueProvider Class

Definition

Represents the base class for value providers whose values come from a name/value collection.

C#
public class NameValueCollectionValueProvider : System.Web.ModelBinding.IUnvalidatedValueProvider
Inheritance
NameValueCollectionValueProvider
Derived
Implements

Constructors

NameValueCollectionValueProvider(NameValueCollection, CultureInfo)

Initializes a new instance of the NameValueCollectionValueProvider class by using a collection and culture information.

NameValueCollectionValueProvider(NameValueCollection, NameValueCollection, CultureInfo)

Initializes a new instance of the NameValueCollectionValueProvider class by using a collection, an unvalidated version of the collection, and culture information.

Methods

ContainsPrefix(String)

Returns a value that indicates whether the value provider contains the specified prefix.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetValue(String, Boolean)

Returns the value for the specified key and optionally enables the caller to specify whether request validation should be skipped.

GetValue(String)

Returns the value for the specified key.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

Produkt Wersje
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1