Share via


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

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

WorkflowAncestorReferenceExpression members

Microsoft.SharePoint.WorkflowActions namespace