Represents a collection of WeekDay objects.
More...
#include <WeekDayCollection.h>
Inherits System::Collections::Generic::IList< typename >.
Represents a collection of WeekDay objects.
◆ Add()
void Aspose::Tasks::WeekDayCollection::Add |
( |
const System::SharedPtr< WeekDay > & |
item | ) |
|
|
override |
Adds a WeekDay instance to this object.
- Parameters
-
◆ Clear()
void Aspose::Tasks::WeekDayCollection::Clear |
( |
| ) |
|
|
override |
◆ Contains()
bool Aspose::Tasks::WeekDayCollection::Contains |
( |
const System::SharedPtr< WeekDay > & |
item | ) |
const |
|
override |
Checks if collection contains WeekDay.specified.
- Parameters
-
item | The item to check against to. |
- Returns
- true, if collection contains item specified, of false otherwise.
◆ CopyTo()
void Aspose::Tasks::WeekDayCollection::CopyTo |
( |
System::ArrayPtr< System::SharedPtr< WeekDay >> |
array, |
|
|
int32_t |
arrayIndex |
|
) |
| |
|
override |
Copies collection content to an array at specified index.
- Parameters
-
array | Destination array of WeekDay to copy to |
arrayIndex | Starting index for copy operation. |
◆ get_Count()
int32_t Aspose::Tasks::WeekDayCollection::get_Count |
( |
| ) |
const |
|
override |
◆ GetEnumerator()
System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<WeekDay> > > Aspose::Tasks::WeekDayCollection::GetEnumerator |
( |
| ) |
|
|
override |
Returns an enumerator for this collection.
- Returns
- an enumerator for this collection.
◆ idx_get()
System::SharedPtr<WeekDay> Aspose::Tasks::WeekDayCollection::idx_get |
( |
int32_t |
index | ) |
const |
|
override |
Gets the item value at specified index.
- Parameters
-
index | The zero-based index of the element to get or set. |
◆ idx_set()
void Aspose::Tasks::WeekDayCollection::idx_set |
( |
int32_t |
index, |
|
|
System::SharedPtr< WeekDay > |
value |
|
) |
| |
|
override |
Sets the item value at specified index.
- Parameters
-
index | The zero-based index of the element to get or set. |
◆ IndexOf()
int32_t Aspose::Tasks::WeekDayCollection::IndexOf |
( |
const System::SharedPtr< WeekDay > & |
item | ) |
const |
|
override |
Returns index of WeekDay specified.
- Parameters
-
item | The item to check against to. |
- Returns
- Zero-based index of WeekDay specified, if present, or -1 otherwise.
◆ Insert()
void Aspose::Tasks::WeekDayCollection::Insert |
( |
int32_t |
index, |
|
|
const System::SharedPtr< WeekDay > & |
item |
|
) |
| |
|
override |
Inserts WeekDay at specified index.
- Parameters
-
index | Index to insert to. |
item | The item to insert. |
◆ Remove()
bool Aspose::Tasks::WeekDayCollection::Remove |
( |
const System::SharedPtr< WeekDay > & |
item | ) |
|
|
override |
Removes WeekDay specified, if any.
- Parameters
-
- Returns
- True, if WeekDay was removed, false if such item was not found.
◆ RemoveAt()
void Aspose::Tasks::WeekDayCollection::RemoveAt |
( |
int32_t |
index | ) |
|
|
override |
Removes an item at specified index.
- Parameters
-
index | index of item to delete. |
◆ ToList()
System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<WeekDay> > > Aspose::Tasks::WeekDayCollection::ToList |
( |
| ) |
|