A collection of objects belonging to the same .

Inheritance

Implements
  • IEnumerable<Trendline>
  • IEnumerable

Inherited from: ChartObject

Returns the owning chart (read-only)

public WorksheetChart Chart { get; }

Inherited from: ChartObject

returns this object's owner. (read-only)

public ChartObject Owner { get; }

Inherited from: ChartObject

The owning sheet (read-only)

public Sheet Sheet { get; }

Inherited from: ChartObject

The owning workbook (read-only)

public Workbook Workbook { get; }

Inherited from: ChartObject

The owning worksheet (read-only)

public Worksheet Worksheet { get; }

Returns the number of items in the collection (read-only)

public int Count { get; }

Determines if the collecion can be modified (read-only)

public bool IsReadOnly { get; }

Returns the instance at the specified ordinal position within the collection.

public Trendline this[int index] { get; }

Adds a new to the collection

public Trendline Add()

Returns any

Clears the collection.

public void Clear()

Returns any

Returns a boolean value indicating whether the specified instance is contained within this collection.

public bool Contains(Trendline item)

Parameters

  • item: Trendline

Returns any

Gets an enumerator for the items in the collection

public IEnumerator<Trendline> GetEnumerator()

Returns any

Returns the index of the item in the collection.

public int IndexOf(Trendline item)

Parameters

  • item: Trendline

Returns any

Inserts a new into the collection at the specified index.

public Trendline Insert(int index)

Parameters

  • index: int

Returns any

Removes an item from the collection.

public bool Remove(Trendline item)

Parameters

  • item: Trendline

Returns any

Removes the series at the specified index

public void RemoveAt(int index)

Parameters

  • index: int

Returns any