XlVariantValue.Type Property
Gets the type of the XlVariantValue object.
Namespace: DevExpress.Export.Xl
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
public XlVariantValueType Type { get; }
#Property Value
Type | Description |
---|---|
Xl |
An Xl |
Available values:
Name | Description |
---|---|
None | The value type is unknown. |
Boolean | A variant value contains data of the boolean type. |
Text | A variant value contains data of the text type. |
Numeric | A variant value contains data of the numeric type. |
Date |
A variant value contains a number that is regarded as date and time. |
Error | A variant value contains data of the error type. |
Image | A variant value contains a byte array that describes an image. |
#Remarks
You can also use one of the following properties to check whether the value is of the specified type:
- XlVariantValue.IsText
- XlVariantValue.IsNumeric
- XlVariantValue.IsBoolean
- XlVariantValue.IsError
- XlVariantValue.IsEmpty