IMemberInfo.GetValue(Object) Method

Retrieves the member's value.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v18.1.dll

Syntax

object GetValue(
    object obj
)

Parameters

Type Name Description
Object obj

The object whose property value will be returned.

Returns

Type Description
Object

An object that is the member's value.

You can pass an object that is actual member value, or an XafDataViewRecord object.

ITypeInfo typeInfo = objectSpace.TypesInfo.FindTypeInfo(objectSpace.GetObjectType(dataViewRecord));
Object val = typeInfo.FindMember(propertyName).GetValue(dataViewRecord);