MSDN Library

Sys.Component id Property

Gets or sets the ID of the current Component object.

Note Note

To get or set property values for client API properties, you must call property accessor methods that are named with the get_ and set_ prefixes. For example, to get or set a value for a property such as cancel, you call the get_cancel or set_cancel methods.

var _id = aComponent.get_id();
c.set_id(value);

value

A string that contains the ID of the component.

The string that is the ID of the component.

Exception type

Condition

Sys.ArgumentException

(Debug) value is null or an empty string ("").

- or -

value starts or ends with a space character.

The id property must be set before the component is registered with the application.

Show:
© 2016 Microsoft