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

ExpressionHelper.GetKeyPropertyValues(Object) Method

If value is a Tuple, this method collects its items into an array of objects. For other types it creates an array of objects with the value being its only element.

Namespace: DevExpress.Mvvm.Utils

Assembly: DevExpress.Mvvm.v20.2.DataModel.dll

NuGet Packages: DevExpress.Scaffolding.Core, DevExpress.WindowsDesktop.Mvvm.DataModel

Declaration

public static object[] GetKeyPropertyValues(
    object value
)

Parameters

Name Type Description
value Object

An object from which an array of objects is created. It it supposed to be a primary key value.

Returns

Type
Object[]
See Also