NameValueCollectionValueProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) |
Initializes a new instance of the NameValueCollectionValueProvider class using the specified unvalidated collection. |
NameValueCollectionValueProvider(NameValueCollection, NameValueCollection, CultureInfo, Boolean) |
Initializes Name Value collection provider. |
Methods
ContainsPrefix(String) |
Determines whether the collection contains the specified prefix. |
GetKeysFromPrefix(String) |
Gets the keys using the specified prefix. |
GetValue(String) |
Returns a value object using the specified key. |
GetValue(String, Boolean) |
Returns a value object using the specified key and validation directive. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for