Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ModelValidatorProviderCollection Class

No content here will be updated; please do not add material here.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public class ModelValidatorProviderCollection : Collection<ModelValidatorProvider>

The ModelValidatorProviderCollection type exposes the following members.

  NameDescription
Public methodModelValidatorProviderCollection()Initializes a new instance of the ModelValidatorProviderCollection class.
Public methodModelValidatorProviderCollection(IList<ModelValidatorProvider>)Initializes a new instance of the ModelValidatorProviderCollection class using a list of model-validation providers.
Top

  NameDescription
Public propertyCount (Inherited from Collection<ModelValidatorProvider>.)
Public propertyItem (Inherited from Collection<ModelValidatorProvider>.)
Protected propertyItems (Inherited from Collection<ModelValidatorProvider>.)
Top

  NameDescription
Public methodAdd (Inherited from Collection<ModelValidatorProvider>.)
Public methodClear (Inherited from Collection<ModelValidatorProvider>.)
Protected methodClearItemsRemoves all elements from the collection. (Overrides Collection<T>.ClearItems().)
Public methodContains (Inherited from Collection<ModelValidatorProvider>.)
Public methodCopyTo (Inherited from Collection<ModelValidatorProvider>.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator (Inherited from Collection<ModelValidatorProvider>.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodGetValidatorsReturns the list of model validators.
Public methodIndexOf (Inherited from Collection<ModelValidatorProvider>.)
Public methodInsert (Inherited from Collection<ModelValidatorProvider>.)
Protected methodInsertItemInserts a model-validator provider into the collection. (Overrides Collection<T>.InsertItem(Int32, T).)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove (Inherited from Collection<ModelValidatorProvider>.)
Public methodRemoveAt (Inherited from Collection<ModelValidatorProvider>.)
Protected methodRemoveItemRemoves the element at the specified index of the collection. (Overrides Collection<T>.RemoveItem(Int32).)
Protected methodSetItemReplaces the model-validator provider element at the specified index. (Overrides Collection<T>.SetItem(Int32, T).)
Public methodToString (Inherited from Object.)
Top

No content here will be updated; please do not add material here.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft