Validator::ValidateProperties Method (ValidationManager^, Object^)

 

Helper method to automatically validate the specific objects properties.

Namespace:   System.Workflow.ComponentModel.Compiler
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public:
virtual ValidationErrorCollection^ ValidateProperties(
	ValidationManager^ manager,
	Object^ obj
)

Parameters

manager
Type: System.Workflow.ComponentModel.Compiler::ValidationManager^

The validation manager linked to the validation.

obj
Type: System::Object^

The Activity to be validated.

Return Value

Type: System.Workflow.ComponentModel.Compiler::ValidationErrorCollection^

A ValidationErrorCollection that contains the validation errors resulting from this operation.

Exception Condition
ArgumentNullException

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

ArgumentNullException

obj is a null reference (Nothing).

.NET Framework
Available since 3.0
Return to top
Show: