Skip to main content

XPDictionary.CreateClass(XPClassInfo, String, Attribute[]) Method

Creates a class with the specified name and attributes.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v26.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public XPClassInfo CreateClass(
    XPClassInfo baseClassInfo,
    string className,
    params Attribute[] attributes
)

Parameters

Name Type Description
baseClassInfo XPClassInfo

An XPClassInfo object which provides the metadata information of the base class.

className String

A String value that specifies the class name.

attributes Attribute[]

An array of attributes.

Returns

Type Description
XPClassInfo

The XPClassInfo for the created class.

See Also