Muokkaa

Jaa


JsonValue.SetValue(Time) Method

Version: Available or changed with runtime version 1.0.

Set the contents of the JsonValue variable to the JSON representation of the given value.

Syntax

 JsonValue.SetValue(Value: Time)

Parameters

JsonValue
 Type: JsonValue
An instance of the JsonValue data type.

Value
 Type: Time

Remarks

  • When Value is a Time type, it will be serialized using the .NET format specifier HH:mm:ss.FFFFFFF (as described in Custom Date and Time Format Strings).
  • The JsonValue will be disconnected from its current JSON tree and the data contained by the JsonValue will be replaced with the new value.

JsonValue Data Type
Get Started with AL
Developing Extensions