Block.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.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns a value indicating whether the block is equivalent to the same element.
public override bool EquivalentTo(System.Web.Razor.Parser.SyntaxTree.SyntaxTreeNode node);
override this.EquivalentTo : System.Web.Razor.Parser.SyntaxTree.SyntaxTreeNode -> bool
Public Overrides Function EquivalentTo (node As SyntaxTreeNode) As Boolean
Parameters
- node
- SyntaxTreeNode
The syntax tree node.
Returns
true if the block is equivalent to the same element; otherwise, false.