CellWatchCollection
CellWatchCollection class
Representa la colección de celdas en esta hoja de trabajo que se observa en la ‘ventana de observación’.
public class CellWatchCollection : CollectionBase<CellWatch>
Constructores
Propiedades
Métodos
| Nombre | Descripción |
|---|
| Add(string) | Agrega |
| Add(int, int) | AgregaCellWatch con fila y columna. |
| 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) | |
Ejemplos
[C#]
// Instanciando un objeto Workbook
Workbook workbook = new Workbook();
// Obtener la primera hoja de trabajo.
Worksheet sheet = workbook.Worksheets[0];
// Agregue el elemento de vigilancia de celda en la ventana de vigilancia
sheet.CellWatches.Add("B2");
[Visual Basic]
'Crear una instancia de un objeto Workbook
Dim workbook As Workbook = New Workbook()
'Obtenga la primera hoja de trabajo.
Dim sheet as Worksheet = workbook.Worksheets(0);
'Agregar elemento de vigilancia de celda en la ventana de vigilancia
sheet.CellWatches.Add("B2")
Ver también