CellsError

ภาพรวม

CellsError เป็น enum ใน Aspose.Cells FOSS สำหรับ Rust. สืบทอดจาก: Debug, Clone, PartialEq, และอีก 1 รายการ.

CellsError implements fmt เพื่อการจัดรูปแบบและให้เมธอดการแปลงเป็นประเภทข้อยกเว้นเฉพาะเช่น to_cells_exception().

enum นี้ประกาศ 9 เมธอดสำหรับอ็อบเจกต์ CellsError ในโปรแกรม Rust. เมธอดที่มีให้รวมถึง: csharp_exception_type_name, fmt, to_cells_exception, to_formula_exception, to_invalid_file_format_exception, to_style_exception, to_unsupported_feature_exception, to_workbook_load_exception, to_workbook_save_exception. สมาชิกสาธารณะสามารถเข้าถึงได้จากแอปพลิเคชัน Rust ใดก็ได้หลังจากติดตั้งแพคเกจ Aspose.Cells FOSS สำหรับ Rust.

ค่า

ค่าคำอธิบาย
SheetNotFound
WorksheetIndexOutOfRange
InvalidSheetName
InvalidZoom
InvalidCellReference
InvalidInput
IndexOutOfRange
Io
OverlappingMergedRange
Unsupported

วิธีการ

ลายเซ็นคำอธิบาย
fmt(f: &mut Formatter<'_>) → std::fmt::Resultเรียก fmt(f) บนอินสแตนซ์ CellsError นี้.
csharp_exception_type_name() → &'static strเรียก csharp_exception_type_name บนอินสแตนซ์ CellsError นี้.
to_cells_exception() → CellsExceptionเรียก to_cells_exception บนอินสแตนซ์ CellsError นี้.
to_workbook_load_exception() → WorkbookLoadExceptionเรียก to_workbook_load_exception บนอินสแตนซ์ CellsError นี้.
to_workbook_save_exception() → WorkbookSaveExceptionเรียก to_workbook_save_exception บนอินสแตนซ์ CellsError นี้.
to_invalid_file_format_exception() → InvalidFileFormatExceptionเรียก to_invalid_file_format_exception บนอินสแตนซ์ CellsError นี้.
to_formula_exception() → FormulaExceptionเรียก to_formula_exception บนอินสแตนซ์ CellsError นี้.
to_style_exception() → StyleExceptionเรียกใช้ to_style_exception บนอินสแตนซ์ CellsError นี้.
to_unsupported_feature_exception() → UnsupportedFeatureExceptionเรียกใช้ to_unsupported_feature_exception บนอินสแตนซ์ CellsError นี้.

ดูเพิ่มเติม

 ภาษาไทย