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.v22.1.dll


object GetValue(
    object obj


Name Type Description
obj Object

The object whose property value will be returned.


Type Description

An object that is the member’s value.


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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetValue(Object) method.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also