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
셀의 이름입니다.