help me understand the method Validator.TryValidateObject()

Posted by Benny on Stack Overflow See other posts from Stack Overflow or by Benny
Published on 2010-06-03T09:00:22Z Indexed on 2010/06/03 9:04 UTC
Read the original article Hit count: 252

this is the method definition:

public static bool TryValidateObject(
Object instance,
ValidationContext validationContext,
ICollection<ValidationResult> validationResults,
bool validateAllProperties

)

what i am confused is the validateAllProperties parameter, I understand when it is true-validate all properties.

What about when it is false, not validate all properties, but which property will be validated?

© Stack Overflow or respective owner

Related posts about silverlight-4.0

Related posts about wcf-ria-services