DefinedNameCollection
DefinedNameCollection
Genel Bakış
DefinedNameCollection, Rust için Aspose.Cells FOSS içinde bir struct’tır.
Tanımlı ad nesnelerinin bir koleksiyonunu temsil eder.
Bu struct, Rust programlarındaki DefinedNameCollection nesneleri için 5 yöntem bildirir. Mevcut yöntemler şunlardır: add, add_with_scope, count, get, remove_at. Genel üyeler, Aspose.Cells FOSS for Rust paketini kurduktan sonra herhangi bir Rust uygulaması tarafından erişilebilir.
Yöntemler
| İmza | Açıklama |
|---|---|
count() → usize | Öğelerin sayısını alır. |
add(name: impl Into<String>, formula: impl Into<String>) → Result<usize, CellsError> | Belirtilen öğeyi ekler. |
add_with_scope(name: impl Into<String>, formula: impl Into<String>, local_sheet_index: Option<usize>) → Result<usize, CellsError> | Bir öğe ekler. |
get(index: usize) → Option<DefinedName<'_>> | Koleksiyondan öğeyi alır. |
remove_at(index: usize) → Result<(), CellsError> | Bir öğeyi kaldırır. |