Class CellWatchCollection

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

การสืบทอด

objectCollectionBase<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];
// เพิ่มรายการ Cell Watch ลงในหน้าต่างเฝ้าดู
sheet.CellWatches.Add("B2");
'การสร้างอ็อบเจ็กต์ Workbook
Dim workbook As Workbook = New Workbook()
'รับแผ่นงานแรก
Dim sheet as Worksheet = workbook.Worksheets(0);
'เพิ่มรายการ Cell Watch ลงในหน้าต่างเฝ้าดู
sheet.CellWatches.Add("B2")

ตัวสร้าง

CellWatchCollection()

public CellWatchCollection()

คุณสมบัติ

this[int]

รับและตั้งค่า Aspose.Cells.CellWatch โดยใช้ดัชนี

public CellWatch this[int index] { get; }

ค่า Property

CellWatch

this[string]

รับและตั้งค่า Aspose.Cells.CellWatch โดยใช้ชื่อของเซลล์

public CellWatch this[string cellName] { get; }

ค่า Property

CellWatch

วิธีการ

Add(int, int)

เพิ่ม Aspose.Cells.CellWatch โดยใช้แถวและคอลัมน์

public int Add(int row, int column)

พารามิเตอร์

row int

ดัชนีแถว

column int

ดัชนีคอลัมน์

คืนค่า

int

คืนค่าตำแหน่งของรายการนี้ในคอลเลกชัน

Add(string)

เพิ่ม Aspose.Cells.CellWatch โดยใช้ชื่อของเซลล์

public int Add(string cellName)

พารามิเตอร์

cellName string

ชื่อของเซลล์

คืนค่า

int

 แบบไทย