RuleExpressionWalker.Match(CodeExpression, CodeExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares the current expression and child nodes to another expression to determine whether they are equal.
public:
static bool Match(System::CodeDom::CodeExpression ^ firstExpression, System::CodeDom::CodeExpression ^ secondExpression);
public static bool Match (System.CodeDom.CodeExpression firstExpression, System.CodeDom.CodeExpression secondExpression);
static member Match : System.CodeDom.CodeExpression * System.CodeDom.CodeExpression -> bool
Public Shared Function Match (firstExpression As CodeExpression, secondExpression As CodeExpression) As Boolean
Parameters
- firstExpression
- CodeExpression
The first CodeExpression in the comparison.
- secondExpression
- CodeExpression
The second CodeExpression in the comparison.
Returns
true
if the expressions are equal; otherwise, false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.