Skip to main content

XPClassInfo.GetId(Object) Method

Gets the value of the key property.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public object GetId(
    object obj
)

Parameters

Name Type Description
obj Object

An object which represents the persistent object.

Returns

Type Description
Object

An object which represents the value of the key property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetId(Object) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also