XPClassInfo.GetMember(String) Method
Returns information on the member with the specified name.
Namespace: DevExpress.Xpo.Metadata
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
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. If a member with the specified name isn’t found, an exception is thrown. |
Remarks
The GetMember 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 GetMember method scans the XPClassInfo.OwnMembers collection of the base class (XPClassInfo.BaseClass).
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the GetMember(String) method.
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.