Skip to main content

XlVariantValue.Type Property

Gets the type of the XlVariantValue object.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v23.2.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public XlVariantValueType Type { get; }

Property Value

Type Description
XlVariantValueType

An XlVariantValueType enumerator member specifying the value type.

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.

DateTime

A variant value contains a number that is regarded as date and time.

Error

A variant value contains data of the error type.

Remarks

You can also use one of the following properties to check whether the value is of the specified type:

See Also