Skip to main content
.NET 6.0+

BaseObjectSpace.GetKeyPropertyType(Type) Method

Gets the key property type of the specified business type.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public virtual Type GetKeyPropertyType(
    Type objectType
)

Parameters

Name Type Description
objectType Type

A Type object which is the type of the objects whose key property type is requested.

Returns

Type Description
Type

A Type object which is the type of the specified type’s key property.

Remarks

Returns null (Nothing in VB) if there is no key property in the specified type.

See Also