DependencyObjectValidator.Validate(ValidationManager, Object) Method

Definition

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

C#
public override System.Workflow.ComponentModel.Compiler.ValidationErrorCollection Validate(System.Workflow.ComponentModel.Compiler.ValidationManager manager, object obj);

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

Ürün Sürümler
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1