Skip to main content

XPCustomMemberInfo(XPClassInfo, String, Type, XPClassInfo, Boolean, Boolean) Constructor

Initializes a new instance of the XPCustomMemberInfo class.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public XPCustomMemberInfo(
    XPClassInfo owner,
    string propertyName,
    Type propertyType,
    XPClassInfo referenceType,
    bool nonPersistent,
    bool nonPublic
)

Parameters

Name Type Description
owner XPClassInfo

An XPClassInfo descendant which owns this XPCustomMemberInfo object. This value is assigned to the XPMemberInfo.Owner property.

propertyName String

A String value that specifies the member’s name. This value is assigned to the XPCustomMemberInfo.Name property.

propertyType Type

The member’s Type. This value is assigned to the XPCustomMemberInfo.MemberType property.

referenceType XPClassInfo

An XPClassInfo object which provides the metadata of the referenced object. This value is assigned to the XPMemberInfo.ReferenceType property.

nonPersistent Boolean

true, if the member is non-persistent; otherwise, false. The inverted value of this parameter is assigned to the XPTypeInfo.IsPersistent property.

nonPublic Boolean

true, if the member is declared as public; otherwise, false. This value is assigned to the XPCustomMemberInfo.IsPublic property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the XPCustomMemberInfo(XPClassInfo, String, Type, XPClassInfo, Boolean, Boolean) constructor.

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