---
title: "System::Net::Http::Headers::NameValueHeaderValue::GetValueLength method"
url: "https://reference.aspose.com/tex/cpp/system.net.http.headers/namevalueheadervalue/getvaluelength/"
product: "Aspose.TeX for C++"
description: "System::Net::Http::Headers::NameValueHeaderValue::GetValueLength method. Returns the length of a value from the specified index in C++."
---

## NameValueHeaderValue::GetValueLength method


Returns the length of a value from the specified index.

```cpp
static int32_t System::Net::Http::Headers::NameValueHeaderValue::GetValueLength(String input, int32_t startIndex)
```


| Parameter | Type | Description |
| --- | --- | --- |
| input | String | A string to parse. |
| startIndex | int32_t | A start position for parsing. |

### ReturnValue

The length of a value from the specified index.

## See Also

* Class [String](../../../system/string/)
* Class [NameValueHeaderValue](../)
* Namespace [System::Net::Http::Headers](../../)
* Library [Aspose.TeX for C++](../../../)
