Skip to main content
.NET Framework 4.5.2+

IMemberInfo.GetValue(Object) Method

Retrieves the member’s value.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

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