Span.EquivalentTo Method
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the specified node is equivalent to this span.
Namespace: System.Web.Razor.Parser.SyntaxTree
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Overrides Function EquivalentTo ( _
node As SyntaxTreeNode _
) As Boolean
'Usage
Dim instance As Span
Dim node As SyntaxTreeNode
Dim returnValue As Boolean
returnValue = instance.EquivalentTo(node)
public override bool EquivalentTo(
SyntaxTreeNode node
)
public:
virtual bool EquivalentTo(
SyntaxTreeNode^ node
) override
abstract EquivalentTo :
node:SyntaxTreeNode -> bool
override EquivalentTo :
node:SyntaxTreeNode -> bool
public override function EquivalentTo(
node : SyntaxTreeNode
) : boolean
Parameters
- node
Type: System.Web.Razor.Parser.SyntaxTree.SyntaxTreeNode
The node to compare with this span.
Return Value
Type: System.Boolean
true if the specified node is equal to this span; otherwise, false.