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.
Worksheet sheet = workbook.Worksheets[0];
// افزودن آیتم نظارت بر سلول به پنجره نظارت
sheet.CellWatches.Add("B2");
'ایجاد یک شی Workbook
Dim workbook As Workbook = New Workbook()
'گرفتن اولین Worksheet.
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
نام سلول.