System::DateTimeOffset::CompareTo metodo

DateTimeOffset::CompareTo(const DateTimeOffset&) const method

Confronta due oggetti DateTimeOffset.

int System::DateTimeOffset::CompareTo(const DateTimeOffset &other) const
ParametroTipoDescrizione
otherconst DateTimeOffset&Object da confrontare.

ReturnValue

-1 - if current object is earlier than other, 1 - if current object is later than other, 0 - if current object is equal to other.

Vedi anche

DateTimeOffset::CompareTo(const SharedPtr<Object>&) const method

Confronta due oggetti DateTimeOffset.

int System::DateTimeOffset::CompareTo(const SharedPtr<Object> &obj) const
ParametroTipoDescrizione
objconst SharedPtr<Object>&Object da confrontare.

ReturnValue

-1 - if current object is earlier than obj, 1 - if current object is later than obj, 0 - if current object is equal to obj.

Vedi anche