System::Net::Http::Headers::HttpHeaderValueCollection< System::String > class
Contents
[
Hide
]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
| Method | Description |
|---|---|
| Add(const String&) override | Adds element into collection. |
| Clear() override | Deletes all elements from collection. |
| Contains(const String&) const override | Checks if element is present in collection. |
| CopyTo(System::ArrayPtr<String>, int32_t) override | |
| get_Count() const override | Gets number of elements in collection. |
| get_IsReadOnly() | |
| get_IsSpecialValueSet() | |
| GetEnumerator() override | Gets 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&) override | Deletes element from collection. |
| RemoveSpecialValue() | |
| SetSpecialValue() | |
| SetTemplateWeakPtr(uint32_t) override | Set n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. |
| ToString() const override | Analog of C# Object.ToString() method. Enables converting custom objects to string. |
| TryParseAdd(String) |
See Also
- Class ICollection
- Namespace System::Net::Http::Headers
- Library Aspose.Font for C++