Class CellWatchCollection
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
מייצג את האוסף של תאים בגיליון עבודה זה שנצפים בחלון ‘מעקב’.
public class CellWatchCollection : CollectionBase<cellwatch>, IList<cellwatch>, ICollection<cellwatch>, IEnumerable<cellwatch>, ICollection, IEnumerable
ירושה
object ← CollectionBase<cellwatch> ← CellWatchCollection
מיישם
IList<cellwatch>, ICollection<cellwatch>, IEnumerable<cellwatch>, ICollection, IEnumerable
חברים ירושים
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()
דוגמאות
//יצירת אובייקט Workbook
Workbook workbook = new Workbook();
// קבלת גיליון העבודה הראשון.
Worksheet sheet = workbook.Worksheets[0];
// הוספת פריט מעקב תא לחלון המעקב
sheet.CellWatches.Add("B2");
'יצירת אובייקט Workbook
Dim workbook As Workbook = New Workbook()
'קבלת גיליון העבודה הראשון.
Dim sheet as Worksheet = workbook.Worksheets(0);
'הוספת פריט מעקב תא לחלון המעקב
sheet.CellWatches.Add("B2")
בונים
CellWatchCollection()
public CellWatchCollection()
מאפיינים
this[int]
מקבל ומגדיר Aspose.Cells.CellWatch לפי אינדקס.
public CellWatch this[int index] { get; }
ערך מאפיין
this[string]
מקבל ומגדיר Aspose.Cells.CellWatch לפי שם התא.
public CellWatch this[string cellName] { get; }
ערך מאפיין
שיטות
Add(int, int)
מוסיף Aspose.Cells.CellWatch עם שורה ועמודה.
public int Add(int row, int column)
פרמטרים
row
int
אינדקס השורה.
column
int
אינדקס העמודה.
מחזיר
מחזיר את המיקום של פריט זה באוסף.
Add(string)
מוסיף Aspose.Cells.CellWatch עם שם התא.
public int Add(string cellName)
פרמטרים
cellName
string
שם התא.