Equals()

Nullable::Equals(const T1&) const method

Determines if the value represented by the current object is equal to the value represented by the specified Nullable object.

template<typename T1> std::enable_if<IsNullable<T1>::value, bool>::type System::Nullable<T>::Equals(const T1 &other) const

Template parameters

ParameterDescription
T1The underlying type of the Nullable object to compare with

Arguments

ParameterTypeDescription
otherconst T1&A constant reference to the Nullable object to compare with

Return Value

True if the value represented by the current object is equal to the value represented by the specified Nullable object, otherwise - false

See Also