Initializes a new instance of the
RuleDefinition class with provided attributes.
Syntax
'Declaration
Public Function New( _
ByVal As RuleType, _
ByVal As Integer, _
ByVal As String _
)
'Usage
Dim ruleType As RuleType
Dim weight As Integer
Dim ruleParameter As String
Dim instance As New RuleDefinition(ruleType, weight, ruleParameter)
public RuleDefinition(
RuleType ,
int ,
string
)
public: RuleDefinition(
RuleType ,
int ,
string*
)
public:
RuleDefinition(
RuleType ,
int ,
String^
)
Parameters
- ruleType
- Type of rule.
- weight
- Weight of the rule.
- ruleParameter
- Parameter used by the rule.
See Also