System::TimeSpan::CompareTo 메서드

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

현재 객체와 지정된 객체를 비교합니다.

int System::TimeSpan::CompareTo(const SharedPtr<Object> &obj) const
매개변수형식설명
objconst SharedPtr<Object>&현재 객체와 비교할 TimeSpan 객체

ReturnValue

-1 if the current object represents the interval that is shorter than value; 0 if the current object represents the interval that is equal to value; 1 if the current object represents the interval that is longer than value

또 보기

TimeSpan::CompareTo(TimeSpan) const method

현재 객체와 지정된 객체를 비교합니다.

int System::TimeSpan::CompareTo(TimeSpan value) const
매개변수형식설명
valueTimeSpan현재 객체와 비교할 TimeSpan 객체

ReturnValue

-1 if the current object represents the interval that is shorter than value; 0 if the current object represents the interval that is equal to value; 1 if the current object represents the interval that is longer than value

또 보기