Block.EquivalentTo Method
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.
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 Block
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 syntax tree node.
Return Value
Type: System.Boolean
true if the block is equivalent to the same element; otherwise, false.