.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

XPBaseObject.SetMemberValue(String, Object) Method

Sets the value of the specified property.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.1.dll


public void SetMemberValue(
    string propertyName,
    object newValue


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