SetJsonAttribute

This method sets the JSON attribute.
Syntax
METHOD SetJsonAttribute : HRESULT
VAR_IN_OUT CONSTANT
sJsonAttribute : STRING;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
sJsonAttribute | STRING | JSON string |
Return value
Name | Type | Description |
---|---|---|
SetJsonAttribute | HRESULT | Returns S_OK if the method call was successful, otherwise an HRESULT as the error code. |