Modifier

DependencyObjectValidator.Validate(ValidationManager, Object) Method

Definition

Validates each settable DependencyProperty of the specified Object using the specified ValidationManager.

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

Parameters

manager
ValidationManager

The ValidationManager to use in the validation.

obj
Object

The Object to be validated.

Returns

A ValidationErrorCollection that contains the errors from this operation.

Exceptions

manager is a null reference (Visual Basic Nothing).

-or-

obj is a null reference (Visual Basic Nothing).

obj cannot be cast to type DependencyObject.

Applies to