CommentCollection

CommentCollection

개요

CommentCollection은 Aspose.Cells FOSS for Rust의 구조체입니다.

워크시트에 대한 주석(레거시 노트) 컬렉션을 나타냅니다.

이 구조체는 Rust 프로그램에서 CommentCollection 객체를 위한 11개의 메서드를 선언합니다. 사용 가능한 메서드에는: add, add_a1, clear, count, get, get_by_cell_name, get_count, item, item_by_cell_name, remove_at, remove_at_cell_name이 포함됩니다. 공개 멤버는 Aspose.Cells FOSS for Rust 패키지를 설치한 후 모든 Rust 애플리케이션에서 접근할 수 있습니다.

메서드

시그니처설명
count() → usize항목 수를 가져옵니다.
get_count() → usize항목 수를 가져옵니다.
add(row: i32, column: i32) → Result<usize, CellsError>주어진 A1 스타일 셀 참조에 빈 주석을 추가하고 반환합니다.
add_a1(cell_name: impl Into<String>) → Result<usize, CellsError>항목을 추가합니다.
get(index: usize) → Option<Comment<'_>>컬렉션에서 항목을 가져옵니다.
item(index: usize) → Option<Comment<'_>>컬렉션에서 항목을 가져옵니다.
get_by_cell_name(cell_name: impl Into<String>) → Result<Option<Comment<'_>>, CellsError>연관된 값을 가져옵니다.
item_by_cell_name(cell_name: impl Into<String>) → Result<Option<Comment<'_>>, CellsError>컬렉션에서 항목을 가져옵니다.
remove_at(index: usize) → Result<(), CellsError>항목을 제거합니다.
remove_at_cell_name(cell_name: impl Into<String>) → Result<(), CellsError>항목을 제거합니다.
clear()현재 상태를 초기화합니다.

참조

 한국어