TryValidateObject (). I'll show how to use this. Here's an example of a class with a nested object that has properties to validate (Director.Name):.
確定! 回上一頁