getItemByRegisteredId Method
In This Topic
Returns the first item with specified registered identifier.
Syntax
var instance = new Vintasoft.Imaging.UI.UIElements.WebUiElementCollectionJS(items, readOnly);
var value; // Type: Vintasoft.Imaging.UI.UIElements.WebUiElementJS
// Parameters
var id; // Type: string
value = instance.getItemByRegisteredId(id);
Parameters
- id
- The registered identifier of UI element.
Return Value
A
WebUiElementJS object if collection contains item with specified registered identifier; otherwise, null.
Exceptions
| Exception | Description |
| Thrown if "id" has wrong type. |
| Thrown if "id" is empty string (what means that element is custom). |
Browser Compatibility
See Also