ValueExtensions.ToJsonValue Method

Returns a JsonValue that contains an unformatted JSON String representing the current Value.

Namespace:  TcHmiSrv.Core.Tools.Json.Extensions
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

public static JsonValue ToJsonValue(
    this Value value
)

Parameters

value

Type: TcHmiSrv.Core.Value
The Value to convert.

Return Value

Type: JsonValue
A JsonValue that contains an unformatted JSON String representing value.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Value. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Reference

ValueExtensions Class

TcHmiSrv.Core.Tools.Json.Extensions Namespace