Share via


ElementViewModel.GetValidators Method

Retrieves the Validator items for this element.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Protected Overridable Function GetValidators As IEnumerable(Of Validator)
protected virtual IEnumerable<Validator> GetValidators()
protected:
virtual IEnumerable<Validator^>^ GetValidators()
protected function GetValidators() : IEnumerable<Validator>

Return Value

Remarks

Element Validator items are specified by using the ElementValidationAttribute.

See Also

ElementViewModel Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel Namespace