Class CellValue
Class CellValue
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
مقدار سلول و نوع مربوطه را نشان میدهد.
public class CellValue
وراثت
اعضای وراثت یافته
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
سازندهها
CellValue()
public CellValue()
ویژگیها
نوع
نوع مقدار سلول را دریافت/تنظیم میکند.
public CellValueType Type { get; set; }
مقدار ویژگی
مقدار
مقدار سلول را دریافت/تنظیم میکند.
public object Value { get; set; }
مقدار ویژگی
توضیحات
مقدار باید از نوع صحیح شیء مطابق با Aspose.Cells.CellValue.Type باشد:
نوع | مقدار |
---|---|
Aspose.Cells.CellValueType.IsNull | null، هر شیء دیگری نادیده گرفته خواهد شد |
Aspose.Cells.CellValueType.IsNumeric | double |
Aspose.Cells.CellValueType.IsDateTime | DateTime |
Aspose.Cells.CellValueType.IsString | string |
Aspose.Cells.CellValueType.IsBool | bool |
Aspose.Cells.CellValueType.IsError | رشته خطا مانند "#VALUE!"، "#NAME?"، ... |