XPDictionary.CreateClass(XPClassInfo, String, Attribute[]) Method
Creates a class with the specified name and attributes.
Namespace: DevExpress.Xpo.Metadata
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public XPClassInfo CreateClass(
XPClassInfo baseClassInfo,
string className,
params Attribute[] attributes
)
#Parameters
Name | Type | Description |
---|---|---|
base |
XPClass |
An XPClass |
class |
String | A String value that specifies the class name. |
attributes | Attribute[] | An array of attributes. |
#Returns
Type | Description |
---|---|
XPClass |
The XPClass |
#Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the CreateClass(XPClassInfo, String, Attribute[]) 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.