---
title: "Rational..::.Equals Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Rational_Equals_1_d02429b3.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Rational.Equals Method 
 
Compares this [Rational](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Rational.htm.md) with specified object.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Overrides NotOverridable Function Equals ( _object As Object _
) As Boolean
```
 
```csharp
public override sealed bool Equals(Object object
)
```
 
### Parameters
 
 - object
     - Type: [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
The [Object](http://msdn2.microsoft.com/en-us/e5kfa45b) to compare with the current [Rational](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Rational.htm.md). If actual type of this argument is other than [Rational](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Rational.htm.md), exception will be raised.
 
### Return Value
Value specifying whether given object represents the same value as this [Rational](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Rational.htm.md).
   
## See Also

### Reference

- [Rational Structure](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Rational.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
