Class CellValue
Class CellValue
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
Mewakili nilai sel dan tipe yang sesuai.
public class CellValue
Pewarisan
Anggota yang Dwarisi
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Konstruktor
CellValue()
public CellValue()
Properti
Tipe
Mengambil/mengatur tipe nilai sel.
public CellValueType Type { get; set; }
Nilai Properti
Nilai
Mengambil/mengatur nilai sel.
public object Value { get; set; }
Nilai Properti
Catatan
Nilai harus memiliki tipe objek yang benar sesuai dengan Aspose.Cells.CellValue.Type:
Tipe | Nilai |
---|---|
Aspose.Cells.CellValueType.IsNull | null, objek lain akan diabaikan |
Aspose.Cells.CellValueType.IsNumeric | double |
Aspose.Cells.CellValueType.IsDateTime | DateTime |
Aspose.Cells.CellValueType.IsString | string |
Aspose.Cells.CellValueType.IsBool | bool |
Aspose.Cells.CellValueType.IsError | string error seperti "#VALUE!", "#NAME?", ... |