Represents a collection of WeekDay objects.
More...
#include <WeekDayCollection.h>
Inherits System::Collections::Generic::IList< typename >.
Represents a collection of WeekDay objects.
void Aspose::Tasks::WeekDayCollection::Add |
( |
const System::SharedPtr< WeekDay > & |
item | ) |
|
|
override |
Adds a WeekDay instance to this object.
- Parameters
-
void Aspose::Tasks::WeekDayCollection::Clear |
( |
| ) |
|
|
override |
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.
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. |
int32_t Aspose::Tasks::WeekDayCollection::get_Count |
( |
| ) |
const |
|
override |
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.
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. |
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. |
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.
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. |
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.
void Aspose::Tasks::WeekDayCollection::RemoveAt |
( |
int32_t |
index | ) |
|
|
override |
Removes an item at specified index.
- Parameters
-
index | index of item to delete. |
System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<WeekDay> > > Aspose::Tasks::WeekDayCollection::ToList |
( |
| ) |
|