xpo-devexpress-dot-xpo-dot-metadata-dot-xpclassinfo-cab823bd.md
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
public IEnumerable CollectionProperties { get; }
Public ReadOnly Property CollectionProperties As IEnumerable
| Type | Description |
|---|---|
| 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
}
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
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
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
For Each m As XPMemberInfo In xpoInfo.CollectionProperties
Dim childProps As String() = GetObjectProperties(m.CollectionElementType, processed)
See Also