Represents a collection of OutlineCode objects.
More...
#include <OutlineCodeCollection.h>
Inherits System::Collections::Generic::IList< typename >.
|
int32_t | get_Count () const override |
| Gets the number of elements contained in this collection. More...
|
|
bool | get_IsReadOnly () const override |
| Gets a value indicating whether this collection is read-only; otherwise, false. More...
|
|
System::SharedPtr< OutlineCode > | idx_get (int32_t index) const override |
| Returns the element at the specified index. More...
|
|
void | idx_set (int32_t index, System::SharedPtr< OutlineCode > value) override |
| Sets the element at the specified index. More...
|
|
System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< OutlineCode > > > | GetEnumerator () override |
| Returns an enumerator for this collection. More...
|
|
void | Add (const System::SharedPtr< OutlineCode > &item) override |
| Adds the specified item to this collection. More...
|
|
void | Clear () override |
| Removes all items from this collection. More...
|
|
bool | Contains (const System::SharedPtr< OutlineCode > &item) const override |
| Returns true if the specified item is found in this collection; otherwise, false. More...
|
|
void | CopyTo (System::ArrayPtr< System::SharedPtr< OutlineCode >> array, int32_t arrayIndex) override |
| Copies the elements of this collection to the specified array, starting at the specified array index. More...
|
|
bool | Remove (const System::SharedPtr< OutlineCode > &item) override |
| Removes the first occurrence of a specific object from this collection. More...
|
|
int32_t | IndexOf (const System::SharedPtr< OutlineCode > &item) const override |
| Determines the index of the specified item in this collection. More...
|
|
void | Insert (int32_t index, const System::SharedPtr< OutlineCode > &item) override |
| Inserts the specified item at the specified index. More...
|
|
void | RemoveAt (int32_t index) override |
| Removes an item at the specified index. More...
|
|
Represents a collection of OutlineCode objects.
◆ Add()
void Aspose::Tasks::OutlineCodeCollection::Add |
( |
const System::SharedPtr< OutlineCode > & |
item | ) |
|
|
override |
Adds the specified item to this collection.
- Parameters
-
item | the specified item to add to this collection. |
◆ Clear()
void Aspose::Tasks::OutlineCodeCollection::Clear |
( |
| ) |
|
|
override |
Removes all items from this collection.
◆ Contains()
bool Aspose::Tasks::OutlineCodeCollection::Contains |
( |
const System::SharedPtr< OutlineCode > & |
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.
◆ CopyTo()
void Aspose::Tasks::OutlineCodeCollection::CopyTo |
( |
System::ArrayPtr< System::SharedPtr< OutlineCode >> |
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. |
◆ get_Count()
int32_t Aspose::Tasks::OutlineCodeCollection::get_Count |
( |
| ) |
const |
|
override |
Gets the number of elements contained in this collection.
◆ get_IsReadOnly()
bool Aspose::Tasks::OutlineCodeCollection::get_IsReadOnly |
( |
| ) |
const |
|
override |
Gets a value indicating whether this collection is read-only; otherwise, false.
◆ GetEnumerator()
System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<OutlineCode> > > Aspose::Tasks::OutlineCodeCollection::GetEnumerator |
( |
| ) |
|
|
override |
Returns an enumerator for this collection.
- Returns
- an enumerator for this collection.
◆ idx_get()
System::SharedPtr<OutlineCode> Aspose::Tasks::OutlineCodeCollection::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.
◆ idx_set()
void Aspose::Tasks::OutlineCodeCollection::idx_set |
( |
int32_t |
index, |
|
|
System::SharedPtr< OutlineCode > |
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. |
◆ IndexOf()
int32_t Aspose::Tasks::OutlineCodeCollection::IndexOf |
( |
const System::SharedPtr< OutlineCode > & |
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.
◆ Insert()
void Aspose::Tasks::OutlineCodeCollection::Insert |
( |
int32_t |
index, |
|
|
const System::SharedPtr< OutlineCode > & |
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. |
◆ Remove()
bool Aspose::Tasks::OutlineCodeCollection::Remove |
( |
const System::SharedPtr< OutlineCode > & |
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.
◆ RemoveAt()
void Aspose::Tasks::OutlineCodeCollection::RemoveAt |
( |
int32_t |
index | ) |
|
|
override |
Removes an item at the specified index.
- Parameters
-
index | the specified zero-based index to remove an item at. |