WorkflowAncestorReferenceExpression.Match Method
Compares the current expression to the specified expression to determine whether they are equal.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Function Match ( _
expression As CodeExpression _
) As Boolean
'Usage
Dim instance As WorkflowAncestorReferenceExpression
Dim expression As CodeExpression
Dim returnValue As Boolean
returnValue = instance.Match(expression)
public bool Match(
CodeExpression expression
)
Parameters
expression
Type: System.CodeDom.CodeExpressionThe expression to compare to the current expression.
Return Value
Type: System.Boolean
true if the current expression is equal to the specified expression; otherwise, false.
Implements
IRuleExpression.Match(CodeExpression)
Remarks
The expressions are equal if their AncestorName and QualifiedTypeName properties are the equal.
See Also
Reference
WorkflowAncestorReferenceExpression Class