Class TableFieldCollection
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)
Contains a list of Aspose.Tasks.TableField objects. Implements IList<TableField> interface.
public class TableFieldCollection : IList<tablefield>, ICollection<tablefield>, IEnumerable<tablefield>, IEnumerable
Inheritance
Implements
IList<tablefield>, ICollection<tablefield>, IEnumerable<tablefield>, 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
IsReadOnly
Gets a value indicating whether this collection is read-only; otherwise, false.
public bool IsReadOnly { get; }
Property Value
this[int]
Returns or sets the element at the specified index.
public TableField this[int index] { get; set; }
Property Value
Methods
Add(TableField)
Adds the specified item to this collection.
public void Add(TableField item)
Parameters
item
TableField
the specified item to add to this collection.
Clear()
Removes all items from this collection.
public void Clear()
Contains(TableField)
Returns true if the specified item is found in this collection; otherwise, false.
public bool Contains(TableField item)
Parameters
item
TableField
the specified item to find.
Returns
true if the specified item is found in this collection; otherwise, false.
CopyTo(TableField[], int)
Copies the elements of this collection to the specified array, starting at the specified array index.
public void CopyTo(TableField[] array, int arrayIndex)
Parameters
array
TableField[]
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<tablefield> GetEnumerator()
Returns
an enumerator for this collection.
IndexOf(TableField)
Determines the index of the specified item in this collection.
public int IndexOf(TableField item)
Parameters
item
TableField
the specified item to locate in this collection.
Returns
the index of the specified item if found; otherwise, -1.
Insert(int, TableField)
Inserts the specified item at the specified index.
public void Insert(int index, TableField item)
Parameters
index
int
the specified zero-based index at which the item should be inserted.
item
TableField
the specified item to insert to this collection.
Remove(TableField)
Removes the first occurrence of a specific object from this collection.
public bool Remove(TableField item)
Parameters
item
TableField
the specified object to remove.
Returns
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. </tablefield></tablefield></tablefield>