System::DateTimeOffset::operator== method

DateTimeOffset::operator==(const DateTimeOffset&) const method

确定当前对象和指定的 DateTimeOffset 对象是否表示相同的日期和时间值。

bool System::DateTimeOffset::operator==(const DateTimeOffset &other) const
ParameterType描述
otherconst DateTimeOffset&用于与当前对象比较的 DateTimeOffset 对象

ReturnValue

如果当前对象和指定对象表示相同的日期和时间值,则为 true;否则为 false。

另见

DateTimeOffset::operator==(std::nullptr_t) const method

bool System::DateTimeOffset::operator==(std::nullptr_t) const

另见