GXDN: Gurux Developer Network
SetValue Method (value, type, useUIValue, status)
NamespacesGurux.DeviceGXPropertySetValue(Object, VariantType, Boolean, PropertyStates)
SetValue sets the value of a GXProperty. If ValueItems are used, the value must be in the ValueItems collection and the Type must be String (GX_VT_STR).
Parameters
value (Object)
Property value
type (VariantType)
The type of data in which the value is saved.
useUIValue (Boolean)
If True, UIValue formulas are used.
status (PropertyStates)
A status to be set for the GXProperty after the value has been set.
Examples
CopyC#
Dim value = "SomeValue"
GXProperty1.SetValue(value, GX_VT_STR, False)
See Also

Assembly: Gurux.Device (Module: Gurux.Device) Version: 5.0.0.1