Rule Constructor
See Also 
SourceCode.Workflow.Design.InfoPath.FormTemplate.Rules Namespace > Rule Class : Rule Constructor



name
condition
isEnabled

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal name As String, _
   ByVal condition As String, _
   ByVal isEnabled As Boolean _
)
Visual Basic (Usage) Copy Code
Dim name As String
Dim condition As String
Dim isEnabled As Boolean
 
Dim instance As New Rule(name, condition, isEnabled)
C#  
public Rule( 
   string name,
   string condition,
   bool isEnabled
)
C++/CLI  
public:
Rule( 
   String^ name,
   String^ condition,
   bool isEnabled
)

Parameters

name
condition
isEnabled

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