System::Net::Http::Headers::NameValueHeaderValue::ToString method

NameValueHeaderValue::ToString() const method

Analog of C# Object.ToString() method. Enables converting custom objects to string.

String System::Net::Http::Headers::NameValueHeaderValue::ToString() const override

ReturnValue

String representation as provided by final class.

See Also

NameValueHeaderValue::ToString(System::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>>, char16_t, bool) method

Returns a string representation of the collection of the NameValueHeaderValue-class instances.

static String System::Net::Http::Headers::NameValueHeaderValue::ToString(System::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>> values, char16_t separator, bool leadingSeparator)
ParameterTypeDescription
valuesSystem::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>>The collection of the NameValueHeaderValue-class instances.
separatorchar16_tA string separator.
leadingSeparatorboolThe value that indicates if the string separator must be added before the first collection item.

ReturnValue

A string representation of the collection of the NameValueHeaderValue-class instances.

See Also

NameValueHeaderValue::ToString(System::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>>, char16_t, bool, System::SharedPtr<Text::StringBuilder>) method

Returns a string representation of the collection of the NameValueHeaderValue-class instances.

static void System::Net::Http::Headers::NameValueHeaderValue::ToString(System::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>> values, char16_t separator, bool leadingSeparator, System::SharedPtr<Text::StringBuilder> destination)
ParameterTypeDescription
valuesSystem::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>>The collection of the NameValueHeaderValue-class instances.
separatorchar16_tA string separator.
leadingSeparatorboolThe value that indicates if the string separator must be added before the first collection item.
destinationSystem::SharedPtr<Text::StringBuilder>An instance where a string representation will be assigned.

See Also