Skip to main content
A newer version of this page is available. .

XPDictionary.GetClassInfo(Object) Method

Returns the persistent class metadata information for the specified object.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v19.1.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