XPDictionary.GetClassInfo(Type) Method
Returns the persistent class metadata information for the specified class type.
Namespace: DevExpress.Xpo.Metadata
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public XPClassInfo GetClassInfo(
Type classType
)
#Parameters
Name | Type | Description |
---|---|---|
class |
Type | The class type. |
#Returns
Type | Description |
---|---|
XPClass |
The XPClass |
#Remarks
This method throws the CannotResolveClassInfoException whenever the metadata information cannot be obtained for the specified class type; for example, if the corresponding class does not implement IXPSimpleObject an exception is thrown.
#Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the GetClassInfo(Type) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.