SetJsonAttribute

SetJsonAttribute 1:

This method sets the JSON attribute.

Syntax

METHOD SetJsonAttribute : HRESULT
VAR_IN_OUT CONSTANT
    sJsonAttribute : STRING;
END_VAR

SetJsonAttribute 2: Inputs

Name

Type

Description

sJsonAttribute

STRING

JSON string

SetJsonAttribute 3: Return value

Name

Type

Description

SetJsonAttribute

HRESULT

Returns S_OK if the method call was successful, otherwise an HRESULT as the error code.