Represents a collection which contains AvailabilityPeriod objects.
More...
#include <AvailabilityPeriodCollection.h>
Inherits System::Collections::Generic::IList< typename >.
|
using | iterator_holder_type = System::Collections::Generic::List< System::SharedPtr< AvailabilityPeriod >> |
| A collection type whose iterator types is used as iterator types in the current collection.
|
|
using | iterator = typename iterator_holder_type::iterator |
| Iterator type.
|
|
using | const_iterator = typename iterator_holder_type::const_iterator |
| Const iterator type.
|
|
using | virtualized_iterator_element = typename iterator_holder_type::virtualized_iterator_element |
| Virtualized element type.
|
|
using | virtualized_iterator = typename iterator_holder_type::virtualized_iterator |
| Virtualized type.
|
|
Represents a collection which contains AvailabilityPeriod objects.
void Aspose::Tasks::AvailabilityPeriodCollection::Add |
( |
const System::SharedPtr< AvailabilityPeriod > & |
item | ) |
|
|
override |
Adds the specified item to this collection.
- Parameters
-
item | the specified item to add to this collection. |
iterator Aspose::Tasks::AvailabilityPeriodCollection::begin |
( |
| ) |
|
|
noexcept |
Gets iterator pointing to the first element (if any) of the collection.
- Returns
- An iterator pointing to the first element (if any) of the collection
const_iterator Aspose::Tasks::AvailabilityPeriodCollection::begin |
( |
| ) |
const |
|
noexcept |
Gets iterator pointing to the first element (if any) of the const-qualified instance of the collection.
- Returns
- An iterator pointing to the first element (if any) of the const-qualified instance of the collection
const_iterator Aspose::Tasks::AvailabilityPeriodCollection::cbegin |
( |
| ) |
const |
|
noexcept |
Gets iterator pointing to the first const-qualified element (if any) of the collection.
- Returns
- An iterator pointing to the first const-qualified element (if any) of the collection
const_iterator Aspose::Tasks::AvailabilityPeriodCollection::cend |
( |
| ) |
const |
|
noexcept |
Gets iterator pointing right after the last const-qualified element (if any) of the collection.
- Returns
- An iterator pointing right after the last const-qualified element (if any) of the collection
void Aspose::Tasks::AvailabilityPeriodCollection::Clear |
( |
| ) |
|
|
override |
Removes all items from this collection.
bool Aspose::Tasks::AvailabilityPeriodCollection::Contains |
( |
const System::SharedPtr< AvailabilityPeriod > & |
item | ) |
const |
|
override |
Returns true if the specified item is found in this collection; otherwise, false.
- Parameters
-
item | the specified item to find. |
- Returns
- true if the specified item is found in this collection; otherwise, false.
void Aspose::Tasks::AvailabilityPeriodCollection::CopyTo |
( |
System::ArrayPtr< System::SharedPtr< AvailabilityPeriod >> |
array, |
|
|
int32_t |
arrayIndex |
|
) |
| |
|
override |
Copies the elements of this collection to the specified array, starting at the specified array index.
- Parameters
-
array | the specified one-dimensional array to copy elements to |
arrayIndex | the zero-based index of the specified array at which copying begins. |
iterator Aspose::Tasks::AvailabilityPeriodCollection::end |
( |
| ) |
|
|
noexcept |
Gets iterator pointing right after the last element (if any) of the collection.
- Returns
- An iterator pointing right after the last element (if any) of the collection
const_iterator Aspose::Tasks::AvailabilityPeriodCollection::end |
( |
| ) |
const |
|
noexcept |
Gets iterator pointing right after the last element (if any) of the const-qualified instance of the collection.
- Returns
- An iterator pointing right after the last element (if any) of the const-qualified instance of the collection
int32_t Aspose::Tasks::AvailabilityPeriodCollection::get_Count |
( |
| ) |
const |
|
override |
Gets the number of elements contained in this collection.
bool Aspose::Tasks::AvailabilityPeriodCollection::get_IsReadOnly |
( |
| ) |
const |
|
override |
Gets a value indicating whether this collection is read-only; otherwise, false.
System::SharedPtr<Resource> Aspose::Tasks::AvailabilityPeriodCollection::get_ParentResource |
( |
| ) |
const |
Gets the parent Resource for this object.
- Returns
- Parent Resource object for this collection.
System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<AvailabilityPeriod> > > Aspose::Tasks::AvailabilityPeriodCollection::GetEnumerator |
( |
| ) |
|
|
override |
Returns an enumerator for this collection.
- Returns
- an enumerator for this collection.
System::SharedPtr<AvailabilityPeriod> Aspose::Tasks::AvailabilityPeriodCollection::idx_get |
( |
int32_t |
index | ) |
const |
|
override |
Returns the element at the specified index.
- Parameters
-
index | The zero-based index of the element to get or set. |
- Returns
- the element at the specified index.
void Aspose::Tasks::AvailabilityPeriodCollection::idx_set |
( |
int32_t |
index, |
|
|
System::SharedPtr< AvailabilityPeriod > |
value |
|
) |
| |
|
override |
Sets the element at the specified index.
- Parameters
-
index | The zero-based index of the element to get or set. |
value | the element at the specified index. |
int32_t Aspose::Tasks::AvailabilityPeriodCollection::IndexOf |
( |
const System::SharedPtr< AvailabilityPeriod > & |
item | ) |
const |
|
override |
Determines the index of the specified item in this collection.
- Parameters
-
item | the specified item to locate in this collection. |
- Returns
- the index of the specified item if found; otherwise, -1.
void Aspose::Tasks::AvailabilityPeriodCollection::Insert |
( |
int32_t |
index, |
|
|
const System::SharedPtr< AvailabilityPeriod > & |
item |
|
) |
| |
|
override |
Inserts the specified item at the specified index.
- Parameters
-
index | the specified zero-based index at which the item should be inserted. |
item | the specified item to insert to this collection. |
bool Aspose::Tasks::AvailabilityPeriodCollection::Remove |
( |
const System::SharedPtr< AvailabilityPeriod > & |
item | ) |
|
|
override |
Removes the first occurrence of a specific object from this collection.
- Parameters
-
item | the specified object to remove. |
- Returns
- true if the specified object was successfully removed from this collection; otherwise, false.
void Aspose::Tasks::AvailabilityPeriodCollection::RemoveAt |
( |
int32_t |
index | ) |
|
|
override |
Removes an item at the specified index.
- Parameters
-
index | the specified zero-based index to remove an item at. |
virtualized_iterator* Aspose::Tasks::AvailabilityPeriodCollection::virtualizeBeginConstIterator |
( |
| ) |
const |
|
override |
Gets iterator pointing to the first element (if any)of the const-qualified instance of the collection.
- Returns
- An iterator pointing to the first element (if any)of the const-qualified instance of the collection Provides const iterator implementation to container's first element.
-
Newly-created iterator object.
Gets iterator pointing to the first element (if any) of the collection.
- Returns
- An iterator pointing to the first element (if any) of the collection Provides iterator implementation to container's first element.
-
Newly-created iterator object.
virtualized_iterator* Aspose::Tasks::AvailabilityPeriodCollection::virtualizeEndConstIterator |
( |
| ) |
const |
|
override |
Gets iterator pointing right after the last element (if any)of the const-qualified instance of the collection.
- Returns
- An iterator pointing right after the last element (if any)of the const-qualified instance of the collection Provides const iterator implementation to container's end.
-
Newly-created iterator object.
Gets iterator pointing right after the last element (if any) of the collection.
- Returns
- An iterator pointing right after the last element (if any) of the collection Provides iterator implementation to container's end.
-
Newly-created iterator object.