Skip to main content
.NET 6.0+

BaseObjectSpace.GetKeyValue(ITypesInfo, Object) Method

Returns the key property’s value of the specified persistent object.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp


public static object GetKeyValue(
    ITypesInfo typesInfo,
    object obj


Name Type Description
typesInfo ITypesInfo

An ITypesInfo object that supplies metadata on type used in the XAF application.

obj Object

An object whose key property’s value is requested.


Type Description

An object which is the value of the specified object’s key property.

See Also