IMemberInfo.GetValue(Object) Method

Retrieves the member's value.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

object GetValue(
    object obj
)
Function GetValue(
    obj As Object
) As Object

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);

See Also