The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.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.v19.1.dll

Declaration

public void SetMemberValue(string propertyName, object newValue)
Public Sub SetMemberValue(propertyName As String, newValue As Object)
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.

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