GetHashCode()

NameValueHeaderValue::GetHashCode() const method

Analog of C# Object.GetHashCode() method. Enables hashing of custom objects.

int32_t System::Net::Http::Headers::NameValueHeaderValue::GetHashCode() const override

Return Value

Hash code value as calculated by corresponding class.

NameValueHeaderValue::GetHashCode(System::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>>) method

Returns a hash code of all the collection items.

static int32_t System::Net::Http::Headers::NameValueHeaderValue::GetHashCode(System::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>> values)

Arguments

ParameterTypeDescription
valuesSystem::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>>The collection of the NameValueHeaderValue-class instances.

Return Value

A hash code of all the collection items.

See Also