GSF.Historian.Files.StateRecord.CompareTo C# (CSharp) Method

CompareTo() public method

Compares the current StateRecord object to obj.
public CompareTo ( object obj ) : int
obj object Object against which the current object is to be compared.
return int
        public virtual int CompareTo(object obj)
        {
            StateRecord other = obj as StateRecord;
            if (other == null)
                return 1;
            else
                return m_historianID.CompareTo(other.HistorianID);
        }