Skip to main content

XlVariantValue.IsBoolean Property

Gets whether the current XlVariantValue object contains a Boolean value.

Namespace: DevExpress.Export.Xl

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

NuGet Package: DevExpress.Printing.Core

Declaration

public bool IsBoolean { get; }

Property Value

Type Description
Boolean

true, if the current value is of the Boolean type; otherwise, false

Remarks

You can also use the XlVariantValue.Type property to obtain the value type. This property returns XlVariantValueType.Boolean, if a value is Boolean.

To get the XlVariantValue object’s boolean value, use the XlVariantValue.BooleanValue property.

See Also