The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.

XPClassInfo.FindMember(String) Method

Returns information on the member with the specified name.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v19.1.dll

Declaration

public XPMemberInfo FindMember(string memberName)
Public Function FindMember(memberName As String) As XPMemberInfo
public XPMemberInfo FindMember(string memberName)
Public Function FindMember(memberName As String) As XPMemberInfo

Parameters

Name Type Description
memberName String

A String value which specifies the member's name.

Parameters

Name Type Description
memberName String

A String value which specifies the member's name.

Returns

Type Description
XPMemberInfo

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

Returns

Type Description
XPMemberInfo

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

Remarks

The FindMember method scans the XPClassInfo.OwnMembers collection for an element whose XPMemberInfo.Name property's value matches the memberName parameter. If an element with the specified name isn't found, the FindMember method scans the XPClassInfo.OwnMembers collection of the base class (XPClassInfo.BaseClass).

See Also