DeviceSettingValueTSetValue Method

Sets a new value for the setting.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public void SetValue(
	Object? value,
	IHasTimeZone? offset
)

Parameters

value  Object
New value
offset  IHasTimeZone
Offset to edit LastModifiedAt with

Remarks

This flips IsSynchronized to and updates LastModifiedAt, ensuring the device receiver knows it has to update the value.

Exceptions

ArgumentNullExceptionThrown if value is .

See Also