XPDictionary.GetClassInfo(Object) Method
In This Article
Returns the persistent class metadata information for the specified object.
Namespace: DevExpress.Xpo.Metadata
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public XPClassInfo GetClassInfo(
object theObject
)
#Parameters
Name | Type | Description |
---|---|---|
the |
Object | The object whose metadata information is obtained. |
#Returns
Type | Description |
---|---|
XPClass |
The XPClass |
#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