CellWatchCollection
CellWatchCollection class
يمثل مجموعة الخلايا في ورقة العمل هذه والتي يتم مشاهدتها في “نافذة المراقبة” .
public class CellWatchCollection : CollectionBase<CellWatch>
المنشئون
الخصائص
طُرق
| اسم | وصف |
|---|
| Add(string) | يضيف |
| Add(int, int) | يضيفCellWatch مع الصف والعمود . |
| BinarySearch(CellWatch) | |
| BinarySearch(CellWatch, IComparer<CellWatch>) | |
| BinarySearch(int, int, CellWatch, IComparer<CellWatch>) | |
| Clear() | |
| Contains(CellWatch) | |
| CopyTo(CellWatch[]) | |
| CopyTo(CellWatch[], int) | |
| CopyTo(int, CellWatch[], int, int) | |
| Exists(Predicate<CellWatch>) | |
| Find(Predicate<CellWatch>) | |
| FindAll(Predicate<CellWatch>) | |
| FindIndex(Predicate<CellWatch>) | |
| FindIndex(int, Predicate<CellWatch>) | |
| FindIndex(int, int, Predicate<CellWatch>) | |
| FindLast(Predicate<CellWatch>) | |
| FindLastIndex(Predicate<CellWatch>) | |
| FindLastIndex(int, Predicate<CellWatch>) | |
| FindLastIndex(int, int, Predicate<CellWatch>) | |
| GetEnumerator() | |
| IndexOf(CellWatch) | |
| IndexOf(CellWatch, int) | |
| IndexOf(CellWatch, int, int) | |
| LastIndexOf(CellWatch) | |
| LastIndexOf(CellWatch, int) | |
| LastIndexOf(CellWatch, int, int) | |
| RemoveAt(int) | |
أمثلة
[C#]
// إنشاء كائن مصنف
Workbook workbook = new Workbook();
// احصل على ورقة العمل الأولى.
Worksheet sheet = workbook.Worksheets[0];
// إضافة عنصر مراقبة الخلية في نافذة المراقبة
sheet.CellWatches.Add("B2");
[Visual Basic]
'إنشاء كائن مصنف
Dim workbook As Workbook = New Workbook()
'احصل على ورقة العمل الأولى.
Dim sheet as Worksheet = workbook.Worksheets(0);
'أضف عنصر مراقبة الخلية في نافذة الساعة
sheet.CellWatches.Add("B2")
أنظر أيضا