Skip to main content

XPMemberInfo.CollectionElementType Property

Gets the XPClassInfo of the persistent object if the current member is a collection of these persistent objects.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public XPClassInfo CollectionElementType { get; }

Property Value

Type Description
XPClassInfo

An XPClassInfo object which represents the type of a single element in the collection. null (Nothing in Visual Basic) if this XPMemberInfo object provides metadata for a member which is not a collection.

The following code snippets (auto-collected from DevExpress Examples) contain references to the CollectionElementType property.

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.

See Also