GetJsonAttribute

Returns the JSON attribute.

Syntax

virtual HRESULT TCOMAPI GetJsonAttribute (STRING sJsonAttribute, UDINT nJsonAttribute)

Parameter

Name

Type

Description

sJsonAttribute

REFERENCE TO STRING

Reference to the JSON string.

nJsonAttribute

REFERENCE TO UDINT

Reference to the length of the Json attribute.

GetJsonAttribute 1: Return value

Type

Description

HRESULT

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