The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.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.v19.2.dll

Declaration

public XPClassInfo GetClassInfo(
    object theObject
)
Public Function GetClassInfo(
    theObject As Object
) As XPClassInfo
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.

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.

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