ValidationAttributeValidator.DoValidate Method
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The latest Enterprise Library information can be found at the Enterprise Library site. |
Validates by forwarding the validation request to the wrapped ValidationAttribute.
Namespace: Microsoft.Practices.EnterpriseLibrary.Validation.Validators
Assembly: Microsoft.Practices.EnterpriseLibrary.Validation.Silverlight (in Microsoft.Practices.EnterpriseLibrary.Validation.Silverlight.dll) Version: 5.0.505.0
Syntax
public override void DoValidate(
Object objectToValidate,
Object currentTarget,
string key,
ValidationResults validationResults
)
'Declaration
Public Overrides Sub DoValidate ( _
objectToValidate As Object, _
currentTarget As Object, _
key As String, _
validationResults As ValidationResults _
)
public:
virtual void DoValidate(
Object^ objectToValidate,
Object^ currentTarget,
String^ key,
ValidationResults^ validationResults
) override
Parameters
- objectToValidate
Type: System.Object
The object to validate.
- currentTarget
Type: System.Object
The object on the behalf of which the validation is performed.
- key
Type: System.String
The key that identifies the source of objectToValidate.
- validationResults
Type: Microsoft.Practices.EnterpriseLibrary.Validation.ValidationResults
The validation results to which the outcome of the validation should be stored.
See Also
ValidationAttributeValidator Class
Microsoft.Practices.EnterpriseLibrary.Validation.Validators Namespace