xpo-devexpress-dot-xpo-dot-metadata-dot-xpmemberinfo-d7f5a657.md
Gets the XPClassInfo object which owns this XPMemberInfo object.
Namespace : DevExpress.Xpo.Metadata
Assembly : DevExpress.Xpo.v25.2.dll
NuGet Package : DevExpress.Xpo
public XPClassInfo Owner { get; }
Public ReadOnly Property Owner As XPClassInfo
| Type | Description |
|---|---|
| XPClassInfo |
An XPClassInfo object which owns this XPMemberInfo object.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Owner 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.
public XPComplexCustomMemberInfo AddSubMember(string propertyName, Type propertyType, params Attribute[] attributes) {
XPComplexCustomMemberInfo memeberInfo = new XPComplexCustomMemberInfo(this.Owner, propertyName, propertyType, attributes);
AddSubMember(memeberInfo);
See Also