System::Collections::Generic::IKVCollection class
Contents
[
Hide
]IKVCollection class
Interface of container containing keys or values of the dictionary-like container. 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.
template<typename T>class IKVCollection : public System::Collections::Generic::IList<T>
| Parameter | Description |
|---|---|
| T | KeyValuePair type. |
Methods
| Method | Description |
|---|---|
| Add(const T&) override | Adds item to container. |
| Clear() override | Deletes all elements from container. |
| Contains(const T&) const override | Checks if item is present in container. |
| virtual get_Count() const | Gets number of elements in container. |
| get_IsReadOnly() const override | Checks if container is read only. |
| virtual GetEnumerator() | RTTI information. |
| virtual idx_get(int) const | Getter function. |
| idx_set(int, T) override | Setter function. |
| IndexOf(const T&) const override | Gets index of item in container. |
| Insert(int, const T&) override | Inserts item at specified position. |
| Remove(const T&) override | Removes item from container. |
| RemoveAt(int) override | Removes item at specified position. |
See Also
- Class IList
- Namespace System::Collections::Generic
- Library Aspose.PUB for C++