.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IMemberInfo.GetValue(Object) Method

Retrieves the member’s value.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v21.1.dll

Declaration

object GetValue(
    object obj
)

Parameters

Name Type Description
obj Object

The object whose property value will be returned.

Returns

Type Description
Object

An object that is the member’s value.

Remarks

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

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