Share via


BaseRequiredChildOfValidator.Validate method

This member overrides CompositeActivityValidator.Validate(ValidationManager, Object).

Namespace:  Microsoft.Office.Workflow.Actions
Assembly:  Microsoft.Office.Workflow.Actions (in Microsoft.Office.Workflow.Actions.dll)

Syntax

'Declaration
Public Overrides Function Validate ( _
    manager As ValidationManager, _
    obj As Object _
) As ValidationErrorCollection
'Usage
Dim instance As BaseRequiredChildOfValidator
Dim manager As ValidationManager
Dim obj As Object
Dim returnValue As ValidationErrorCollection

returnValue = instance.Validate(manager, _
    obj)
public override ValidationErrorCollection Validate(
    ValidationManager manager,
    Object obj
)

Parameters

  • obj
    Type: System.Object

    An object that the validator will operate on

    This object is commonly a workflow activity.

Return value

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

See also

Reference

BaseRequiredChildOfValidator class

BaseRequiredChildOfValidator members

Microsoft.Office.Workflow.Actions namespace