|Manuals

JSObject::Id Method

Description

Identifier of the object. It must be unique among siblings objects.

The Id method provides both getter and setter functionality for retrieving or assigning an object’s unique identifier.

Getter

std::wstring Id();

Returns a wide string representing the current identifier.

Setter

void Id(std::wstring value);

Accepts a wide string value to update the identifier.

Syntax

std::wstring Id();
void Id(std::wstring value);

See Also

Part of the JSObject Class