Skip to main content

HTMLComment.SetUserData

SetUserData

Syntax

SetUserData(<Key>, <Data>)

Parameters

<Key> (required)

Type: String. A user data key.

<Data> (required)

Type: Arbitrary. User data that should be saved in the node.

Returned value

Previous user data for the specified key, or Undefined, if the specified key does not correspond with any user data.

Description

Sets user data.

Availability

Thin client, mobile client, server, thick client, external connection, mobile application (client), mobile application (server), mobile standalone server.

Translation

Русская версия: КомментарийHTML.УстановитьПользовательскиеДанные (HTMLComment.SetUserData)