OnValidate Method
See Also 
SourceCode.Workflow.Authoring.Design Namespace > WorkflowDesignerVerbCollection Class : OnValidate Method



value
The object to validate.

Glossary Item Box

Performs additional custom processes when validating a value.

Syntax

Visual Basic (Declaration) 
Protected Overrides Sub OnValidate( _
   ByVal value As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As WorkflowDesignerVerbCollection
Dim value As Object
 
instance.OnValidate(value)
C# 
protected override void OnValidate( 
   object value
)
C++/CLI 
protected:
void OnValidate( 
   Object^ value
) override 

Parameters

value
The object to validate.

Exceptions

ExceptionDescription
System.ArgumentNullExceptionvalue is null.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also