Class CellWatchCollection

Class CellWatchCollection

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

Mewakili koleksi sel di worksheet ini yang sedang dipantau di ‘jendela pantau’.

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

Pewarisan

objectCollectionBase<cellwatch>CellWatchCollection

Mengimplementasikan

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

Anggota yang diwarisi

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()

Contoh

//Membuat objek Workbook
Workbook workbook = new Workbook();
// Mendapatkan Worksheet pertama.
Worksheet sheet = workbook.Worksheets[0];
// Tambahkan Item Pantau Sel ke dalam jendela pantau
sheet.CellWatches.Add("B2");
'Membuat objek Workbook
Dim workbook As Workbook = New Workbook()
'Mendapatkan Worksheet pertama.
Dim sheet as Worksheet = workbook.Worksheets(0);
'Tambahkan Item Pantau Sel ke dalam jendela pantau
sheet.CellWatches.Add("B2")

Konstruktor

CellWatchCollection()

public CellWatchCollection()

Properti

this[int]

Mendapatkan dan menetapkan Aspose.Cells.CellWatch berdasarkan indeks.

public CellWatch this[int index] { get; }

Nilai Properti

CellWatch

this[string]

Mendapatkan dan menetapkan Aspose.Cells.CellWatch berdasarkan nama sel.

public CellWatch this[string cellName] { get; }

Nilai Properti

CellWatch

Metode

Add(int, int)

Menambahkan Aspose.Cells.CellWatch dengan baris dan kolom.

public int Add(int row, int column)

Parameter

row int

Indeks baris.

column int

Indeks kolom.

Mengembalikan

int

Mengembalikan posisi item ini dalam koleksi.

Add(string)

Menambahkan Aspose.Cells.CellWatch dengan nama sel.

public int Add(string cellName)

Parameter

cellName string

Nama sel.

Mengembalikan

int

 Indonesia