IMemberInfo.GetValue(Object) Method
Retrieves the member’s value.
Namespace: DevExpress.ExpressApp.DC
Assembly: DevExpress.ExpressApp.v18.2.dll
Declaration
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 actual member value, or an XafDataViewRecord object.
ITypeInfo typeInfo = objectSpace.TypesInfo.FindTypeInfo(objectSpace.GetObjectType(dataViewRecord));
Object val = typeInfo.FindMember(propertyName).GetValue(dataViewRecord);
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetValue(Object) method.
Note
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