.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IModelNode.SetValue<ValueType>(String, ValueType) Method

Changes the value of the node's specified property.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v20.2.dll

Declaration

void SetValue<ValueType>(
    string name,
    ValueType value
)
Sub SetValue(Of ValueType)(
    name As String,
    value As ValueType
)

Parameters

Name Type Description
name String

A string containing the name of the property whose value will be changed.

value ValueType

The new value of the node's name property.

Type Parameters

Name
ValueType

Remarks

If name is a null reference or an empty string, an exception is thrown.

See Also