Back to Devexpress

XPClassInfo.Dictionary Property

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

latest2.6 KB
Original Source

XPClassInfo.Dictionary Property

Gets the XPDictionary object which the current XPClassInfo object belongs to.

Namespace : DevExpress.Xpo.Metadata

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public XPDictionary Dictionary { get; }
vb
Public ReadOnly Property Dictionary As XPDictionary

Property Value

TypeDescription
XPDictionary

An XPDictionary object which contains the current XPClassInfo object.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Dictionary 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-persist-metadata-e269/CS/MetadataObjects.cs#L111

csharp
protected override XPMemberInfo CreateMemberCore(XPClassInfo owner) {
    XPMemberInfo member = owner.CreateMember(Name, ReferenceType.CreateClass(owner.Dictionary));
    return member;

XPO_how-to-persist-metadata-e269/VB/MetadataObjects.vb#L167

vb
Protected Overrides Function CreateMemberCore(ByVal owner As XPClassInfo) As XPMemberInfo
    Dim member As XPMemberInfo = owner.CreateMember(Name, ReferenceType.CreateClass(owner.Dictionary))
    Return member

See Also

XPClassInfo Class

XPClassInfo Members

DevExpress.Xpo.Metadata Namespace