.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.v20.1.dll

Declaration

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

Parameters

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