Skip to main content
.NET 8.0+

BaseObjectSpace.GetKeyValue(ITypesInfo, Object) Method

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public static object GetKeyValue(
    ITypesInfo typesInfo,
    object obj
)

Parameters

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.

Returns

Type Description
Object

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

See Also