A collection of instances in a
Inheritance
Implements
- ICollection<WorksheetProtectedRange>
- IEnumerable<WorksheetProtectedRange>
- IEnumerable
Properties
Section titled "Properties"Count
Section titled "Count"Gets the number of ranges in the collection.
public int Count { get; } this[int]
Section titled "this[int]"Gets the range at the specified index in the collection.
public WorksheetProtectedRange this[int index] { get; } Methods
Section titled "Methods"Add(WorksheetProtectedRange)
Section titled "Add(WorksheetProtectedRange)"Adds the specified range to the collection.
public void Add(WorksheetProtectedRange item) Parameters
- item:
WorksheetProtectedRange
Returns any
Clear()
Section titled "Clear()"Clears all ranges from the collection.
public void Clear() Returns any
Contains(WorksheetProtectedRange)
Section titled "Contains(WorksheetProtectedRange)"Determines whether a range is in the collection.
public bool Contains(WorksheetProtectedRange range) Parameters
- range:
WorksheetProtectedRange
Returns any
GetEnumerator()
Section titled "GetEnumerator()"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
Remove(WorksheetProtectedRange)
Section titled "Remove(WorksheetProtectedRange)"Removes the specified range from the collection.
public bool Remove(WorksheetProtectedRange range) Parameters
- range:
WorksheetProtectedRange
Returns any
RemoveAt(int)
Section titled "RemoveAt(int)"Removes the range at the specified index from the collection.
public void RemoveAt(int index) Parameters
- index:
int