Export (0) Print
Expand All

ModelValidatorProviderCollection Class

Provides a container for a list of validation providers.

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

public ref class ModelValidatorProviderCollection : public 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 methodClearItems (Inherited from Collection<ModelValidatorProvider>.)
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 methodRemoveItem (Inherited from Collection<ModelValidatorProvider>.)
Protected methodSetItemReplaces the model-validator provider element at the specified index. (Overrides Collection<T>::SetItem(Int32, T).)
Public methodToString (Inherited from Object.)
Top

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