ValueProviderCollection 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 collection of value-provider objects for the application.
public class ValueProviderCollection : System.Collections.ObjectModel.Collection<System.Web.Mvc.IValueProvider>, System.Web.Mvc.IEnumerableValueProvider, System.Web.Mvc.IUnvalidatedValueProvider
type ValueProviderCollection = class
inherit Collection<IValueProvider>
interface IValueProvider
interface IUnvalidatedValueProvider
interface IEnumerableValueProvider
Public Class ValueProviderCollection
Inherits Collection(Of IValueProvider)
Implements IEnumerableValueProvider, IUnvalidatedValueProvider
- Inheritance
-
ValueProviderCollection
- Implements
Constructors
ValueProviderCollection() |
Initializes a new instance of the ValueProviderCollection class. |
ValueProviderCollection(IList<IValueProvider>) |
Initializes a new instance of the ValueProviderCollection class and registers the specified value providers. |
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 skip-validation parameter. |
GetValue(String) |
Returns a value object using the specified key. |
InsertItem(Int32, IValueProvider) |
Inserts the specified value-provider object into the collection at the specified index location. |
SetItem(Int32, IValueProvider) |
Replaces the value provider at the specified index location with a new value provider. |