SyntaxTreeNode.EquivalentTo(SyntaxTreeNode) 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.
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.