XPDictionary.GetClassInfo(Object) Method

Returns the persistent class metadata information for the specified object.

Namespace: DevExpress.Xpo.Metadata

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

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