CommentCollection
CommentCollection
סקירה כללית
CommentCollection הוא struct ב-Aspose.Cells FOSS עבור Rust.
מייצג את האוסף של תגובות (הערות ישנות) על גיליון עבודה.
struct זה מכריז על 11 שיטות עבור עצמים CommentCollection בתוכניות Rust. השיטות הזמינות כוללות: add, add_a1, clear, count, get, get_by_cell_name, get_count, item, item_by_cell_name, remove_at, remove_at_cell_name. החברים הציבוריים נגישים לכל יישום Rust לאחר התקנת חבילת Aspose.Cells FOSS עבור 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() | מנקה את המצב הנוכחי. |