Validator.Validate Method (Object)
Applies the validation logic represented by the receiver on an object, returning the validation results.
Namespace: Microsoft.Practices.EnterpriseLibrary.Validation
Assembly: Microsoft.Practices.EnterpriseLibrary.Validation (in Microsoft.Practices.EnterpriseLibrary.Validation.dll)
Syntax
'Declaration
Public Function Validate ( _
target As Object _
) As ValidationResults
public ValidationResults Validate(
Object target
)
public:
ValidationResults^ Validate(
Object^ target
)
public function Validate(
target : Object
) : ValidationResults
Parameters
- target
Type: System.Object
The object to validate.
Return Value
The ValidationResults representing the outcome of the validation.