GetNameValueListLength()

NameValueHeaderValue::GetNameValueListLength(String, int32_t, char16_t, System::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>>) method

Converts a passed string from the specified index to the collection of the NameValueHeaderValue-class instances and returns the length of a parsed substring.

static int32_t System::Net::Http::Headers::NameValueHeaderValue::GetNameValueListLength(String input, int32_t startIndex, char16_t delimiter, System::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>> nameValueCollection)

Arguments

ParameterTypeDescription
inputStringA string to analyze.
startIndexint32_tA start position for analyzing.
delimiterchar16_tA string that is used to delimit items in the specified string.
nameValueCollectionSystem::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>>The output parameter where a parsed collection will be assigned.

Return Value

The length of a parsed substring.

See Also