Represents a read-only collection of objects.
More...
#include <ReadOnlyCollectionBase.h>
Inherits System::Collections::Generic::IList< typename >.
|
int32_t | get_Count () const override |
| Gets the number of objects contained in the object. More...
|
|
T | idx_get (int32_t index) const override |
| Returns the element at the specified index. More...
|
|
void | idx_set (int32_t index, T value) override |
| Returns the element at the specified index. More...
|
|
System::SharedPtr< System::Collections::Generic::IEnumerator< T > > | GetEnumerator () override |
| Returns an enumerator for this collection. More...
|
|
void | Add (const T &item) override |
| This is the stub implementation of ICollection's Add method, that only throws NotSupportedException More...
|
|
System::SharedPtr< System::Collections::Generic::List< T > > | ToList () |
| Converts the collection object to a list of VbaModule objects. More...
|
|
template<typename T>
class Aspose::Tasks::ReadOnlyCollectionBase< T >
Represents a read-only collection of objects.
- Template Parameters
-
T | Type of collection items. |
◆ Add()
This is the stub implementation of ICollection's Add method, that only throws NotSupportedException
- Parameters
-
◆ get_Count()
Gets the number of objects contained in the object.
◆ GetEnumerator()
Returns an enumerator for this collection.
- Returns
- An enumerator for this collection.
◆ idx_get()
Returns the element at the specified index.
- Parameters
-
index | The zero-based index of the element to get. |
- Returns
- the element at the specified index.
◆ idx_set()
Returns the element at the specified index.
- Parameters
-
index | The zero-based index of the element to get. |
value | the element at the specified index. |
◆ ToList()
Converts the collection object to a list of VbaModule objects.
- Returns
- List of objects.