Back to Devexpress

XPDictionary.GetClassInfo(Object) Method

xpo-devexpress-dot-xpo-dot-metadata-dot-xpdictionary-dot-getclassinfo-x28-system-dot-object-x29.md

latest1.7 KB
Original Source

XPDictionary.GetClassInfo(Object) Method

Returns the persistent class metadata information for the specified object.

Namespace : DevExpress.Xpo.Metadata

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public XPClassInfo GetClassInfo(
    object theObject
)
vb
Public Function GetClassInfo(
    theObject As Object
) As XPClassInfo

Parameters

NameTypeDescription
theObjectObject

The object whose metadata information is obtained.

|

Returns

TypeDescription
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

GetClassInfo

XPDictionary Class

XPDictionary Members

DevExpress.Xpo.Metadata Namespace