Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IMemberInfo.GetValue(Object) Method

Retrieves the member’s value.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v24.2.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