.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

XPBaseObject.SetMemberValue(String, Object) Method

Sets the value of the specified property.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll


public void SetMemberValue(
    string propertyName,
    object newValue
Public Sub SetMemberValue(
    propertyName As String,
    newValue As Object


Name Type Description
propertyName String

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

newValue Object

An object which represents the new value.

See Also