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
- manager
Type: System.Workflow.ComponentModel.Compiler.ValidationManager
A ValidtionManager object that is used to enable the sharing of contextual information, such as property validation, parent activity, and so on, across validators during the compilation process.
- 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