Back to Devexpress

Session.GetProperties(XPClassInfo) Method

xpo-devexpress-dot-xpo-dot-session-dot-getproperties-x28-devexpress-dot-xpo-dot-metadata-dot-xpclassinfo-x29.md

latest1.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public PropertyDescriptorCollection GetProperties(
    XPClassInfo classInfo
)
vb
Public Function GetProperties(
    classInfo As XPClassInfo
) As PropertyDescriptorCollection

Parameters

NameTypeDescription
classInfoXPClassInfo

An XPClassInfo object which provides class description.

|

Returns

TypeDescription
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

Session Class

Session Members

DevExpress.Xpo Namespace