Equals()

ValueTask::Equals(ValueTask) method

Determines whether this instance equals another ValueTask instance.

bool System::Threading::Tasks::ValueTask::Equals(ValueTask other) override

Arguments

ParameterTypeDescription
otherValueTaskThe other ValueTask to compare with this instance.

Return Value

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

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

Determines whether this instance equals another object.

bool System::Threading::Tasks::ValueTask::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 ValueTask and equal to this instance; otherwise, false.

See Also