Validator.Validate(ValidationManager, Object) Validator.Validate(ValidationManager, Object) Validator.Validate(ValidationManager, Object) Validator.Validate(ValidationManager, Object) Method

Definition

Validates the specified object and returns a collection of validation errors.

public:
 virtual System::Workflow::ComponentModel::Compiler::ValidationErrorCollection ^ Validate(System::Workflow::ComponentModel::Compiler::ValidationManager ^ manager, System::Object ^ obj);
public virtual System.Workflow.ComponentModel.Compiler.ValidationErrorCollection Validate (System.Workflow.ComponentModel.Compiler.ValidationManager manager, object obj);
abstract member Validate : System.Workflow.ComponentModel.Compiler.ValidationManager * obj -> System.Workflow.ComponentModel.Compiler.ValidationErrorCollection
override this.Validate : System.Workflow.ComponentModel.Compiler.ValidationManager * obj -> System.Workflow.ComponentModel.Compiler.ValidationErrorCollection
Public Overridable Function Validate (manager As ValidationManager, obj As Object) As ValidationErrorCollection

Parameters

manager
ValidationManager ValidationManager ValidationManager ValidationManager

The validation manager linked to the validation.

obj
Object Object Object Object

The Object to be validated.

Returns

Exceptions

manager is a null reference (Nothing in Visual Basic).

-or-

obj is a null reference (Nothing).

Applies to