Validator.ValidateProperties(ValidationManager, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Helper method to automatically validate the specific objects properties.
public:
virtual System::Workflow::ComponentModel::Compiler::ValidationErrorCollection ^ ValidateProperties(System::Workflow::ComponentModel::Compiler::ValidationManager ^ manager, System::Object ^ obj);
public virtual System.Workflow.ComponentModel.Compiler.ValidationErrorCollection ValidateProperties (System.Workflow.ComponentModel.Compiler.ValidationManager manager, object obj);
abstract member ValidateProperties : System.Workflow.ComponentModel.Compiler.ValidationManager * obj -> System.Workflow.ComponentModel.Compiler.ValidationErrorCollection
override this.ValidateProperties : System.Workflow.ComponentModel.Compiler.ValidationManager * obj -> System.Workflow.ComponentModel.Compiler.ValidationErrorCollection
Public Overridable Function ValidateProperties (manager As ValidationManager, obj As Object) As ValidationErrorCollection
Parameters
- manager
- ValidationManager
The validation manager linked to the validation.
Returns
A ValidationErrorCollection that contains the validation errors resulting from this operation.
Exceptions
manager
is a null reference (Nothing
in Visual Basic).
-or-
obj
is a null reference (Nothing
).
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.