Share via


SyntaxTreeNode.EquivalentTo(SyntaxTreeNode) Method

Definition

Determines if the specified node is equivalent to this node

public:
 abstract bool EquivalentTo(Microsoft::AspNetCore::Razor::Parser::SyntaxTree::SyntaxTreeNode ^ node);
public abstract bool EquivalentTo (Microsoft.AspNetCore.Razor.Parser.SyntaxTree.SyntaxTreeNode node);
abstract member EquivalentTo : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.SyntaxTreeNode -> bool
Public MustOverride Function EquivalentTo (node As SyntaxTreeNode) As Boolean

Parameters

node
SyntaxTreeNode

The node to compare this node with

Returns

true if the provided node has all the same content and metadata, though the specific quantity and type of symbols may be different.

Applies to