Skip to main content

XPClassInfo.GetPersistentMember(String) Method

Returns information on the persistent member with the specified name.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public XPMemberInfo GetPersistentMember(
    string memberName
)

Parameters

Name Type Description
memberName String

A String value which specifies the member name.

Returns

Type Description
XPMemberInfo

An XPMemberInfo object which represents member metadata. null (Nothing in Visual Basic) if the member with the specified name isn’t found.

Remarks

The GetPersistentMember method scans the XPClassInfo.PersistentProperties collection for an element whose XPMemberInfo.Name property’s value matches the memberName parameter.

See Also