Back to Devexpress

ITypeInfo.FindMember(String) Method

expressappframework-devexpress-dot-expressapp-dot-dc-dot-itypeinfo-dot-findmember-x28-system-dot-string-x29.md

latest3.3 KB
Original Source

ITypeInfo.FindMember(String) Method

Supplies metadata on the current type’s member with a specific name.

Namespace : DevExpress.ExpressApp.DC

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
IMemberInfo FindMember(
    string name
)
vb
Function FindMember(
    name As String
) As IMemberInfo

Parameters

NameTypeDescription
nameString

A string that holds the required member’s name.

|

Returns

TypeDescription
IMemberInfo

An IMemberInfo object that supplies metadata on the current type’s member with the specified name.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the FindMember(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.

xaf-customize-xpo-business-model-at-runtime/CS/CustomizeXPOModel/CustomizeXPOModel.Module/Module.cs#L45

csharp
IMemberInfo memberInfo0 = typeInfo1.FindMember("NewIntField");
if (memberInfo0 == null) {

xaf-win-enable-inplace-editing-in-tree-list-view/CS/EFCore/TreeListInplaceEF/TreeListInplaceEF.Win/Controllers/TreeListInplaceEditViewController.cs#L83

csharp
if (focusedObject != null) {
    IMemberInfo focusedColumnMemberInfo = ObjectSpace.TypesInfo.FindTypeInfo(focusedObject.GetType()).FindMember(e.Column.FieldName);
    if (focusedColumnMemberInfo != null) {

XAF_logon-form-manage-users-register-a-new-user-restore-a-password/CS/XPO/Security.Extensions/Module.cs#L41

csharp
if(ti != null) {
    IMemberInfo mi = ti.FindMember(emailMember);
    if(mi == null) {

See Also

ITypeInfo Interface

ITypeInfo Members

DevExpress.ExpressApp.DC Namespace