Click or drag to resize

MatchExpressionAnd Method

Concatenates the current expression with a new one using the logical AND operator.

Namespace:  Sfs2X.Entities.Match
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public MatchExpression And(
	string varName,
	IMatcher condition,
	Object varValue
)

Parameters

varName
Type: SystemString
The name of the additional variable or property to match.
condition
Type: Sfs2X.Entities.MatchIMatcher
The additional matching condition.
varValue
Type: SystemObject
The value to compare against the additional variable or property during the matching.

Return Value

Type: MatchExpression
A new MatchExpression resulting from the concatenation of the current expression with a new one generated from the specified parameters.
See Also