System::Net::Http::Headers::HttpHeaderValueCollection< System::String > class

String > class

The partial specialization of the HttpHeaderValueCollection template for the String type. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class String > : public System::Collections::Generic::ICollection<System::String>

Methods

MethodDescription
Add(const String&) overrideAdds element into collection.
Clear() overrideDeletes all elements from collection.
Contains(const String&) const overrideChecks if element is present in collection.
CopyTo(System::ArrayPtr<String>, int32_t) override
get_Count() const overrideGets number of elements in collection.
get_IsReadOnly()
get_IsSpecialValueSet()
GetEnumerator() overrideGets enumerator.
GetHeaderStringWithoutSpecial()
HttpHeaderValueCollection(String, System::SharedPtr<HttpHeaders>)
HttpHeaderValueCollection(String, System::SharedPtr<HttpHeaders>, Action<System::SharedPtr<HttpHeaderValueCollection<String>>, String>)
HttpHeaderValueCollection(String, System::SharedPtr<HttpHeaders>, String)
HttpHeaderValueCollection(String, System::SharedPtr<HttpHeaders>, String, Action<System::SharedPtr<HttpHeaderValueCollection<String>>, String>)
ParseAdd(String)
Remove(const String&) overrideDeletes element from collection.
RemoveSpecialValue()
SetSpecialValue()
SetTemplateWeakPtr(uint32_t) overrideSet n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.
ToString() const overrideAnalog of C# Object.ToString() method. Enables converting custom objects to string.
TryParseAdd(String)

See Also