Version

FactorSyntaxRule Constructor

Creates a new FactorSyntaxRule instance.
Syntax
'Declaration
 
Public Function New( _
   ByVal factor As Integer, _
   Optional ByVal rule As SyntaxRule _
)
public FactorSyntaxRule( 
   int factor,
   SyntaxRule rule
)

Parameters

factor
The number of times the owned rule must succeed for the FactorSyntaxRule to succeed.
rule
The rule which can repeatedly succeed for the FactorSyntaxRule to succeed.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionOccurs when factor is negative.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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