Skip to main content

XlVariantValue.FromObject(Object) Method

Converts the specified object to XlVariantValue.

Namespace: DevExpress.Export.Xl

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

NuGet Package: DevExpress.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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FromObject(Object) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also