Back to Devexpress

XPClassInfo.CollectionProperties Property

xpo-devexpress-dot-xpo-dot-metadata-dot-xpclassinfo-cab823bd.md

latest3.6 KB
Original Source

XPClassInfo.CollectionProperties Property

Gets the IEnumerable interface which populates XPMemberInfo objects for the XPCollection type properties.

Namespace : DevExpress.Xpo.Metadata

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public IEnumerable CollectionProperties { get; }
vb
Public ReadOnly Property CollectionProperties As IEnumerable

Property Value

TypeDescription
IEnumerable

The IEnumerable interface which populates XPMemberInfo objects for XPCollection type properties.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the CollectionProperties 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.

XPO_how-to-clone-a-persistent-object-e804/CS/SimpleObject/CloneHelper.cs#L42

csharp
}
foreach (XPMemberInfo m in targetClassInfo.CollectionProperties) {
    CloneCollection(m, source, target, synchronize);

XPO_how-to-get-a-list-of-a-persistent-objects-properties-e725/CS/Form1.cs#L122

csharp
foreach(XPMemberInfo m in xpoInfo.CollectionProperties) {
    string[] childProps = GetObjectProperties(m.CollectionElementType, processed);

XPO_how-to-clone-a-persistent-object-e804/VB/SimpleObject/CloneHelper.vb#L45

vb
Next m
For Each m As XPMemberInfo In targetClassInfo.CollectionProperties
    CloneCollection(m, source, target, synchronize)

XPO_how-to-get-a-list-of-a-persistent-objects-properties-e725/VB/Form1.vb#L122

vb
For Each m As XPMemberInfo In xpoInfo.CollectionProperties
    Dim childProps As String() = GetObjectProperties(m.CollectionElementType, processed)

See Also

XPClassInfo Class

XPClassInfo Members

DevExpress.Xpo.Metadata Namespace