Skip to main content
A newer version of this page is available. .

XlVariantValue.FromObject(Object) Method

Converts the specified object to XlVariantValue.

Namespace: DevExpress.Export.Xl

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

NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core

Declaration

public static XlVariantValue FromObject(
    object value
)

Parameters

Name Type Description
value Object

An object to be converted to an XlVariantValue.

Returns

Type Description
XlVariantValue

An XlVariantValue object that corresponds to the specified object. If the conversion cannot be performed, an empty XlVariantValue is returned.

See Also