Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

XPBaseObject.GetMemberValue(String) Method

Returns the value of the specified property.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

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 snippet (auto-collected from DevExpress Examples) contains a reference 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