Skip to main content

XPDictionary.GetClassInfo(Object) Method

Returns the persistent class metadata information for the specified object.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public XPClassInfo GetClassInfo(
    object theObject
)

Parameters

Name Type Description
theObject Object

The object whose metadata information is obtained.

Returns

Type Description
XPClassInfo

The XPClassInfo for the specified object.

Remarks

This method throws the CannotResolveClassInfoException whenever the metadata information cannot be obtained for the specified object; for example, if the object does not implement IXPSimpleObject an exception is thrown.

See Also