A collection of instances in a

Implements
  • ICollection<WorksheetProtectedRange>
  • IEnumerable<WorksheetProtectedRange>
  • IEnumerable

Gets the number of ranges in the collection.

public int Count { get; }

Gets the range at the specified index in the collection.

public WorksheetProtectedRange this[int index] { get; }

Adds the specified range to the collection.

public void Add(WorksheetProtectedRange item)

Parameters

  • item: WorksheetProtectedRange

Returns any

Clears all ranges from the collection.

public void Clear()

Returns any

Determines whether a range is in the collection.

public bool Contains(WorksheetProtectedRange range)

Parameters

  • range: WorksheetProtectedRange

Returns any

Gets an enumerator which can iterator all ranges in the collection.

public IEnumerator<WorksheetProtectedRange> GetEnumerator()

Returns any

Insert(int, WorksheetProtectedRange)

Section titled "Insert(int, WorksheetProtectedRange)"

Inserts the specified range in the collection.

public void Insert(int index, WorksheetProtectedRange range)

Parameters

  • index: int
  • range: WorksheetProtectedRange

Returns any

Removes the specified range from the collection.

public bool Remove(WorksheetProtectedRange range)

Parameters

  • range: WorksheetProtectedRange

Returns any

Removes the range at the specified index from the collection.

public void RemoveAt(int index)

Parameters

  • index: int

Returns any