System::DateTimeOffset::Equals-methode

DateTimeOffset::Equals(const DateTimeOffset&) const method

Controleert of twee DateTimeOffset-objecten hetzelfde tijdstip vertegenwoordigen.

bool System::DateTimeOffset::Equals(const DateTimeOffset &other) const
ParameterTypeBeschrijving
otherconst DateTimeOffset&Object om te vergelijken.

ReturnValue

true als het huidige object gelijk is aan other, anders - false.

Zie ook

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

Controleert of twee DateTimeOffset-objecten hetzelfde tijdstip vertegenwoordigen.

bool System::DateTimeOffset::Equals(const SharedPtr<Object> &obj) const
ParameterTypeBeschrijving
objconst SharedPtr<Object>&Object om te vergelijken.

ReturnValue

true als het huidige object gelijk is aan obj, anders - false.

Zie ook

DateTimeOffset::Equals(const DateTimeOffset&, const DateTimeOffset&) method

Controleert of twee DateTimeOffset-objecten hetzelfde tijdstip vertegenwoordigen.

static bool System::DateTimeOffset::Equals(const DateTimeOffset &first, const DateTimeOffset &second)
ParameterTypeBeschrijving
eersteconst DateTimeOffset&Eerste object om te vergelijken.
secondeconst DateTimeOffset&Tweede object om te vergelijken.

ReturnValue

true als first gelijk is aan second, anders - false.

Zie ook