Class CellWatchCollection

Class CellWatchCollection

Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)

Representa la colección de celdas en esta hoja de cálculo que se están observando en la ‘ventana de observación’.

public class CellWatchCollection : CollectionBase<cellwatch>, IList<cellwatch>, ICollection<cellwatch>, IEnumerable<cellwatch>, ICollection, IEnumerable

Herencia

objectCollectionBase<cellwatch>CellWatchCollection

Implementa

IList<cellwatch>, ICollection<cellwatch>, IEnumerable<cellwatch>, ICollection, IEnumerable

Miembros heredados

CollectionBase<cellwatch>.BinarySearch(CellWatch), CollectionBase<cellwatch>.BinarySearch(CellWatch, IComparer<cellwatch>), CollectionBase<cellwatch>.BinarySearch(int, int, CellWatch, IComparer<cellwatch>), CollectionBase<cellwatch>.Contains(CellWatch), CollectionBase<cellwatch>.CopyTo(CellWatch[]), CollectionBase<cellwatch>.CopyTo(CellWatch[], int), CollectionBase<cellwatch>.CopyTo(int, CellWatch[], int, int), CollectionBase<cellwatch>.Exists(Predicate<cellwatch>), CollectionBase<cellwatch>.Find(Predicate<cellwatch>), CollectionBase<cellwatch>.FindAll(Predicate<cellwatch>), CollectionBase<cellwatch>.FindIndex(Predicate<cellwatch>), CollectionBase<cellwatch>.FindIndex(int, Predicate<cellwatch>), CollectionBase<cellwatch>.FindIndex(int, int, Predicate<cellwatch>), CollectionBase<cellwatch>.FindLast(Predicate<cellwatch>), CollectionBase<cellwatch>.FindLastIndex(Predicate<cellwatch>), CollectionBase<cellwatch>.FindLastIndex(int, Predicate<cellwatch>), CollectionBase<cellwatch>.FindLastIndex(int, int, Predicate<cellwatch>), CollectionBase<cellwatch>.IndexOf(CellWatch), CollectionBase<cellwatch>.IndexOf(CellWatch, int), CollectionBase<cellwatch>.IndexOf(CellWatch, int, int), CollectionBase<cellwatch>.LastIndexOf(CellWatch), CollectionBase<cellwatch>.LastIndexOf(CellWatch, int), CollectionBase<cellwatch>.LastIndexOf(CellWatch, int, int), CollectionBase<cellwatch>.GetEnumerator(), CollectionBase<cellwatch>.Clear(), CollectionBase<cellwatch>.RemoveAt(int), CollectionBase<cellwatch>.OnClearComplete(), CollectionBase<cellwatch>.OnClear(), CollectionBase<cellwatch>.Capacity, CollectionBase<cellwatch>.Count, CollectionBase<cellwatch>.InnerList, CollectionBase<cellwatch>.this[int], object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Ejemplos

//Instanciando un objeto Workbook
Workbook workbook = new Workbook();
// Obtener la primera hoja de cálculo.
Worksheet sheet = workbook.Worksheets[0];
// Agregar un elemento de observación de celda en la ventana de observación
sheet.CellWatches.Add("B2");
'Instanciando un objeto Workbook
Dim workbook As Workbook = New Workbook()
'Obtener la primera hoja de cálculo.
Dim sheet as Worksheet = workbook.Worksheets(0);
'Agregar un elemento de observación de celda en la ventana de observación
sheet.CellWatches.Add("B2")

Constructores

CellWatchCollection()

public CellWatchCollection()

Propiedades

this[int]

Obtiene y establece Aspose.Cells.CellWatch por índice.

public CellWatch this[int index] { get; }

Valor de la propiedad

CellWatch

this[string]

Obtiene y establece Aspose.Cells.CellWatch por el nombre de la celda.

public CellWatch this[string cellName] { get; }

Valor de la propiedad

CellWatch

Métodos

Add(int, int)

Agrega Aspose.Cells.CellWatch con fila y columna.

public int Add(int row, int column)

Parámetros

row int

El índice de fila.

column int

El índice de columna.

Retorna

int

Devuelve la posición de este elemento en la colección.

Add(string)

Agrega Aspose.Cells.CellWatch con el nombre de la celda.

public int Add(string cellName)

Parámetros

cellName string

El nombre de la celda.

Retorna

int

 Español