Share via


SyntaxTreeNode.EquivalentTo Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Indicates whether the syntax tree node is equivalent to given node.

Namespace:  System.Web.Razor.Parser.SyntaxTree
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public MustOverride Function EquivalentTo ( _
    node As SyntaxTreeNode _
) As Boolean
'Usage
Dim instance As SyntaxTreeNode 
Dim node As SyntaxTreeNode 
Dim returnValue As Boolean 

returnValue = instance.EquivalentTo(node)
public abstract bool EquivalentTo(
    SyntaxTreeNode node
)
public:
virtual bool EquivalentTo(
    SyntaxTreeNode^ node
) abstract
abstract EquivalentTo : 
        node:SyntaxTreeNode -> bool
public abstract function EquivalentTo(
    node : SyntaxTreeNode
) : boolean

Parameters

Return Value

Type: System.Boolean
true the syntax tree node is equivalent to given node; false.

See Also

Reference

SyntaxTreeNode Class

System.Web.Razor.Parser.SyntaxTree Namespace