MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / Length Structure / Equals Method / Equals(Object) Method
An System.Object to compare with the current Length.
Example

In This Topic
Equals(Object) Method
In This Topic
Determines whether the specified object is equal to the current Length.
Syntax
'Declaration
 
Public Overloads Overrides Function Equals( _
   ByVal obj As Object _
) As Boolean
 

Parameters

obj
An System.Object to compare with the current Length.

Return Value

A System.Boolean value. true if the specified object is equal to the current Length; otherwise, false.
Example
var length1 = new Length("1in");
object length2 = new Length("1in");
bool result = length1.Equals(length2); // true
See Also