A collection of instances in a workbook.

Inheritance

Implements
  • IList<CustomView>
  • ICollection<CustomView>
  • IEnumerable<CustomView>
  • IEnumerable

Gets the number of custom views in the collection.

public int Count { get; }

Gets the custom view at the specified index.

public CustomView this[int index] { get; }

Adds a new custom view to the collection.

public CustomView Add(string name, bool savePrintOptions, bool saveHiddenRowsAndColumns)

Parameters

  • name: string
  • savePrintOptions: bool
  • saveHiddenRowsAndColumns: bool

Returns any

Clears all custom views from the collection.

public void Clear()

Returns any

Determines whether a custom view is in this collection.

public bool Contains(CustomView customView)

Parameters

  • customView: CustomView

Returns any

Removes the specified custom view from the collection.

public bool Remove(CustomView customView)

Parameters

  • customView: CustomView

Returns any

Removes the custom view at the specified index from the collection.

public void RemoveAt(int index)

Parameters

  • index: int

Returns any