Skip to main content
.NET Framework 4.5.2+

XPBaseObject.GetMemberValue(String) Method

Returns the value of the specified property.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public object GetMemberValue(
    string propertyName
)

Parameters

Name Type Description
propertyName String

A String value which specifies the property’s name. If a property with the specified name isn’t found, the InvalidPropertyPathException is thrown.

Returns

Type Description
Object

An object which represents the value of the specified property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the GetMemberValue(String) 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