Back to Devexpress

IObjectSpace.GetKeyPropertyName(Type) Method

expressappframework-devexpress-dot-expressapp-dot-iobjectspace-dot-getkeypropertyname-x28-system-dot-type-x29.md

latest1.6 KB
Original Source

IObjectSpace.GetKeyPropertyName(Type) Method

Gets the name of the specified type’s key property.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
string GetKeyPropertyName(
    Type type
)
vb
Function GetKeyPropertyName(
    type As Type
) As String

Parameters

NameTypeDescription
typeType

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

|

Returns

TypeDescription
String

A string specifying the key property’s name.

|

See Also

Oid

GetKeyPropertyName(Type)

IObjectSpace Interface

IObjectSpace Members

DevExpress.ExpressApp Namespace