System::Collections::Specialized::NameValueCollection class
Contents
[
Hide
]NameValueCollection class
Collection of associated String keys and String values that can be accessed either with the key or with the index.
class NameValueCollection : public System::Collections::Generic::ICollection<System::String>
Methods
Method | Description |
---|---|
Add(const String&) override | Override ICollection method - not implemented. |
Add(const System::SharedPtr<NameValueCollection>&) | Copies the entries in the specified NameValueCollection to the current. |
virtual Add(const String&, const String&) | Adds an entry with the specified name and value. |
Clear() override | Deletes all elements. |
Contains(const String&) const override | Checks if item is present in collection. |
CopyTo(System::ArrayPtr<String>, int32_t) override | Copies collection elements into existing array elements. |
virtual Get(const String&) | Gets the values associated with the specified key. |
virtual get_AllKeys() | Gets all the keys. |
get_Count() const override | Gets the number of key/value pairs. |
virtual get_Keys() | Gets all the keys. |
GetEnumerator() override | Gets enumerator to iterate through collection. |
virtual GetValues(const String&) | Gets the values associated with the specified key. |
HasKeys() | Gets a value indicating whether the NameValueCollection contains keys that are not null. |
idx_get(const String&) | Gets value at specified index. |
idx_set(const String&, const String&) | Sets value of an entry. |
NameValueCollection() | Initializes a new instance of the NameValueCollection class that is empty. |
NameValueCollection(const System::SharedPtr<NameValueCollection>&) | Copies the entries from the specified NameValueCollection to a new NameValueCollection. |
Remove(const String&) override | Removes specific item. |
virtual Set(const String&, const String&) | Sets the value of an entry. |
virtualizeBeginConstIterator() const override | Gets the implementation of begin const iterator for the current container. |
virtualizeBeginIterator() override | Gets the implementation of begin iterator for the current container. |
virtualizeEndConstIterator() const override | Gets the implementation of end const iterator for the current container. |
virtualizeEndIterator() override | Gets the implementation of end iterator for the current container. |
See Also
- Class ICollection
- Namespace System::Collections::Specialized
- Library Aspose.TeX for C++