GXDN: Gurux Developer Network
GetValue Method (type, useUIValue)
NamespacesGurux.DeviceGXPropertyGetValue(VariantType, Boolean)
GetValue returns the value of a GXProperty instance.
Parameters
type (VariantType)
The type of data, in which the value is returned.
useUIValue (Boolean)
If True, UIValue formulas are used.
Remarks
If Type is none, property value is returned as is. Note: UIValue formula is however executed, if UseUIValue parameter is set to True. If Type is String (GX_VT_STR), property value is returned in type determined by GXProperty.DisplayType Property. For example, if display type is Hex, value is returned in hexadecimal, and if it is bit, returned as bit string. Else property value is returned in type set with Type parameter.
Examples
CopyC#
Dim value
value = GXProperty1.GetValue(GX_VT_INT32, False)
See Also

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