.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.GetClassInfo(Object) Method

Returns the XPClassInfo for the specified persistent object.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.1.dll

Declaration

public XPClassInfo GetClassInfo(
    object theObject
)
Public Function GetClassInfo(
    theObject As Object
) As XPClassInfo

Parameters

Name Type Description
theObject Object

An object which represents the persistent object.

Returns

Type Description
XPClassInfo

An XPClassInfo object which provides metadata information for the specified persistent object.

Remarks

The GetClassInfo method retrieves the metadata information via the Session.Dictionary. If the metadata cannot be obtained, the CannotResolveClassInfoException is thrown.

See Also