Class ExtendedAttributeCollection

Class ExtendedAttributeCollection

Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)

Represents a collection of Aspose.Tasks.ExtendedAttribute objects.

public class ExtendedAttributeCollection : IList<extendedattribute>, ICollection<extendedattribute>, IEnumerable<extendedattribute>, IEnumerable

Inheritance

objectExtendedAttributeCollection

Implements

IList<extendedattribute>, ICollection<extendedattribute>, IEnumerable<extendedattribute>, IEnumerable

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties

Count

Gets the number of elements contained in this collection.

public int Count { get; }

Property Value

int

IsReadOnly

Gets a value indicating whether this collection is read-only; otherwise, false.

public bool IsReadOnly { get; }

Property Value

bool

this[int]

Gets or sets the element at the specified index.

public ExtendedAttribute this[int index] { get; set; }

Property Value

ExtendedAttribute

Methods

Add(ExtendedAttribute)

Adds the specified item to this collection.

public void Add(ExtendedAttribute item)

Parameters

item ExtendedAttribute

the specified item to add to this collection.

Clear()

Removes all items from this collection.

public void Clear()

Contains(ExtendedAttribute)

Returns true if the specified item is found in this collection; otherwise, false.

public bool Contains(ExtendedAttribute item)

Parameters

item ExtendedAttribute

the specified item to find.

Returns

bool

true if the specified item is found in this collection; otherwise, false.

CopyTo(ExtendedAttribute[], int)

Copies the elements of this collection to the specified array, starting at the specified array index.

public void CopyTo(ExtendedAttribute[] array, int arrayIndex)

Parameters

array ExtendedAttribute[]

the specified one-dimensional array to copy elements to

arrayIndex int

the zero-based index of the specified array at which copying begins.

GetEnumerator()

Returns an enumerator for this collection.

public IEnumerator<extendedattribute> GetEnumerator()

Returns

IEnumerator<ExtendedAttribute&gt;

an enumerator for this collection.

IndexOf(ExtendedAttribute)

Determines the index of the specified item in this collection.

public int IndexOf(ExtendedAttribute item)

Parameters

item ExtendedAttribute

the specified item to locate in this collection.

Returns

int

the index of the specified item if found; otherwise, -1.

Insert(int, ExtendedAttribute)

Inserts the specified item at the specified index.

public void Insert(int index, ExtendedAttribute item)

Parameters

index int

the specified zero-based index at which the item should be inserted.

item ExtendedAttribute

the specified item to insert to this collection.

Remove(ExtendedAttribute)

Removes the first occurrence of a specific object from this collection.

public bool Remove(ExtendedAttribute item)

Parameters

item ExtendedAttribute

the specified object to remove.

Returns

bool

true if the specified object was successfully removed from this collection; otherwise, false.

RemoveAt(int)

Removes an item at the specified index.

public void RemoveAt(int index)

Parameters

index int

the specified zero-based index to remove an item at. </extendedattribute></extendedattribute></extendedattribute>