Validator.ValidateProperties(ValidationManager, Object) Method

Definition

Helper method to automatically validate the specific objects properties.

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

Parameters

manager
ValidationManager

The validation manager linked to the validation.

obj
Object

The Activity to be validated.

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

Product Versions
.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