## NameValueHeaderValue::GetHashCode() const method


Analog of C# [Object.GetHashCode()](../../../system/object/gethashcode/) method. Enables hashing of custom objects.

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


### ReturnValue

Hash code value as calculated by corresponding class.

## See Also

* Class [NameValueHeaderValue](../)
* Namespace [System::Net::Http::Headers](../../)
* Library [Aspose.PUB for C++](../../../)
## NameValueHeaderValue::GetHashCode(System::SharedPtr\<ObjectCollection\<System::SharedPtr\<NameValueHeaderValue\>\>\>) method


Returns a hash code of all the collection items.

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


| Parameter | Type | Description |
| --- | --- | --- |
| values | System::SharedPtr\<ObjectCollection\<System::SharedPtr\<NameValueHeaderValue\>\>\> | The collection of the NameValueHeaderValue-class instances. |

### ReturnValue

A hash code of all the collection items.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [ObjectCollection](../../objectcollection/)
* Class [NameValueHeaderValue](../)
* Class [NameValueHeaderValue](../)
* Namespace [System::Net::Http::Headers](../../)
* Library [Aspose.PUB for C++](../../../)
