Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Model Namespace / CellRange Class / GetHashCode Method
Example


In This Topic
    GetHashCode Method (CellRange)
    In This Topic
    Gets the hash code of this object.
    Syntax
    'Declaration
     
    Public Overrides Function GetHashCode() As Integer
    'Usage
     
    Dim instance As CellRange
    Dim value As Integer
     
    value = instance.GetHashCode()
    public override int GetHashCode()
    Remarks
    Integer value of hash code
    Example
    This example illustrates the use of this member by returning the hash code for the range.
    FarPoint.Win.Spread.Model.CellRange cr = new FarPoint.Win.Spread.Model.CellRange(0, 0, 3, 3);
    int i;
    i = cr.GetHashCode();
    listBox1.Items.Add(i.ToString());
    Dim cr As New FarPoint.Win.Spread.Model.CellRange(0, 0, 3, 3)
    Dim i As Integer
    i = cr.GetHashCode()
    ListBox1.Items.Add(i.ToString())
    See Also