Skip to main content
.NET 6.0+

Session.GetProperties(XPClassInfo) Method

Gets the properties of the class whose metadata is provided by the specified XPClassInfo object.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public PropertyDescriptorCollection GetProperties(
    XPClassInfo classInfo
)

Parameters

Name Type Description
classInfo XPClassInfo

An XPClassInfo object which provides class description.

Returns

Type Description
PropertyDescriptorCollection

A collection of PropertyDescriptor objects.

Remarks

Using the properties available in the PropertyDescriptorCollection class, you can query the collection about its contents. For example, use the Count property to determine the number of elements in the collection. Use the Item property to get a specific property by index number or name.

See Also