ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / Length Structure / Equals Method / Equals(Length) Method
An System.Object to compare with this object.
Example

In This Topic
    Equals(Length) Method
    In This Topic
    Indicates whether the current object is equal to another object of the same type.
    Syntax
    'Declaration
     
    Public Overloads Function Equals( _
       ByVal other As Length _
    ) As Boolean
    public bool Equals( 
       Length other
    )

    Parameters

    other
    An System.Object to compare with this object.

    Return Value

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