Equals()

ResultValueTask::Equals(ResultValueTask) method

Determines whether this instance equals another ResultValueTask instance.

bool System::Threading::Tasks::ResultValueTask<T>::Equals(ResultValueTask other) override

Arguments

ParameterTypeDescription
otherResultValueTaskThe other ResultValueTask to compare with this instance.

Return Value

bool True if the instances are equal; otherwise, false.

ResultValueTask::Equals(System::SharedPtr<System::Object>) method

Determines whether this instance equals another object.

bool System::Threading::Tasks::ResultValueTask<T>::Equals(System::SharedPtr<System::Object> obj) override

Arguments

ParameterTypeDescription
objSystem::SharedPtr<System::Object>The object to compare with this instance.

Return Value

bool True if the object is a ResultValueTask and equal to this instance; otherwise, false.

See Also