## Node.IsSameNode method

Method is a legacy alias the for the === strict equality operator. That is, it tests whether two nodes are the same (in other words, whether they reference the same object).

Note: There is no need to use `IsSameNode`; instead use the === strict equality operator.

```csharp
public bool IsSameNode(Node otherNode)
```

| Parameter | Type | Description |
| --- | --- | --- |
| otherNode | Node | The Node to test against. |

### Return Value

A boolean value that is true if both nodes are strictly equal, false if not.

### See Also

* class [Node](../)
* namespace [Aspose.Html.Dom](../../../aspose.html.dom/)
* assembly [Aspose.HTML](../../../)
