CellWatchCollection
CellWatchCollection class
Представляет набор ячеек на этом рабочем листе, которые отслеживаются в «окне просмотра».
public class CellWatchCollection : CollectionBase<CellWatch>
Конструкторы
Характеристики
Методы
Имя |
Описание |
Add(string) |
Добавляет |
Add(int, int) |
ДобавляетCellWatch со строкой и столбцом. |
BinarySearch(CellWatch) |
|
BinarySearch(CellWatch, IComparer<CellWatch>) |
|
BinarySearch(int, int, CellWatch, IComparer<CellWatch>) |
|
Clear() |
|
Contains(CellWatch) |
|
CopyTo(CellWatch[]) |
|
CopyTo(CellWatch[], int) |
|
CopyTo(int, CellWatch[], int, int) |
|
Exists(Predicate<CellWatch>) |
|
Find(Predicate<CellWatch>) |
|
FindAll(Predicate<CellWatch>) |
|
FindIndex(Predicate<CellWatch>) |
|
FindIndex(int, Predicate<CellWatch>) |
|
FindIndex(int, int, Predicate<CellWatch>) |
|
FindLast(Predicate<CellWatch>) |
|
FindLastIndex(Predicate<CellWatch>) |
|
FindLastIndex(int, Predicate<CellWatch>) |
|
FindLastIndex(int, int, Predicate<CellWatch>) |
|
GetEnumerator() |
|
IndexOf(CellWatch) |
|
IndexOf(CellWatch, int) |
|
IndexOf(CellWatch, int, int) |
|
LastIndexOf(CellWatch) |
|
LastIndexOf(CellWatch, int) |
|
LastIndexOf(CellWatch, int, int) |
|
RemoveAt(int) |
|
Примеры
[C#]
//Создание экземпляра объекта Workbook
Workbook workbook = new Workbook();
// Получить первый рабочий лист.
Worksheet sheet = workbook.Worksheets[0];
// Добавляем Cell Watch Item в окно просмотра
sheet.CellWatches.Add("B2");
[Visual Basic]
'Создание экземпляра объекта Workbook
Dim workbook As Workbook = New Workbook()
'Получите первый рабочий лист.
Dim sheet as Worksheet = workbook.Worksheets(0);
'Добавить элемент Cell Watch в окно просмотра
sheet.CellWatches.Add("B2")
Смотрите также