System::Nullable::Equals method

Nullable::Equals 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
ParameterDescription
T1The underlying type of the Nullable object to compare with
ParameterTypeDescription
otherconst T1&A constant reference to the Nullable object to compare with

ReturnValue

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

See Also