Class CellWatchCollection
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
Rappresenta la collezione di celle in questo foglio di lavoro monitorate nella ‘finestra di sorveglianza’.
public class CellWatchCollection : CollectionBase<cellwatch>, IList<cellwatch>, ICollection<cellwatch>, IEnumerable<cellwatch>, ICollection, IEnumerable
Ereditarietà
object ← CollectionBase<cellwatch> ← CellWatchCollection
Implementa
IList<cellwatch>, ICollection<cellwatch>, IEnumerable<cellwatch>, ICollection, IEnumerable
Membri ereditati
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()
Esempi
//Creazione di un oggetto Workbook
Workbook workbook = new Workbook();
// Ottieni il primo Foglio di lavoro.
Worksheet sheet = workbook.Worksheets[0];
// Aggiungi un elemento di sorveglianza della cella nella finestra di sorveglianza
sheet.CellWatches.Add("B2");
'Creazione di un oggetto Workbook
Dim workbook As Workbook = New Workbook()
'Ottieni il primo Foglio di lavoro.
Dim sheet as Worksheet = workbook.Worksheets(0);
'Aggiungi un elemento di sorveglianza della cella nella finestra di sorveglianza
sheet.CellWatches.Add("B2")
Costruttori
CellWatchCollection()
public CellWatchCollection()
Proprietà
this[int]
Ottiene e imposta Aspose.Cells.CellWatch per indice.
public CellWatch this[int index] { get; }
Valore della Proprietà
this[string]
Ottiene e imposta Aspose.Cells.CellWatch per il nome della cella.
public CellWatch this[string cellName] { get; }
Valore della Proprietà
Metodi
Add(int, int)
Aggiunge Aspose.Cells.CellWatch con riga e colonna.
public int Add(int row, int column)
Parametri
row
int
L’indice della riga.
column
int
L’indice della colonna.
Restituisce
Restituisce la posizione di questo elemento nella collezione.
Add(string)
Aggiunge Aspose.Cells.CellWatch con il nome della cella.
public int Add(string cellName)
Parametri
cellName
string
Il nome della cella.