# Attributes Object

The **Attributes** object is returned by the **get_attributes()** method of the [RadToolBar](https://www.telerik.com/products/aspnet-ajax/documentation/controls/toolbar/client-side-programming/objects/radtoolbar-object) or [RadToolBarItem](https://www.telerik.com/products/aspnet-ajax/documentation/controls/toolbar/client-side-programming/objects/radtoolbaritem-object) client object. The following table lists its methods:

| Name                | Parameters     | Return Type | Description                                                                                     |
| ------------------- | -------------- | ----------- | ----------------------------------------------------------------------------------------------- |
| **get_count**       | none           | integer     | Returns the number of custom attributes in the collection.                                      |
| **getAttribute**    | string         | string      | Returns the value of the custom attribute with the specified name                               |
| **removeAttribute** | string         | none        | Removes the attribute with the specified name from the collection.                              |
| **setAttribute**    | string, string | none        | Sets the attribute named by the first parameter to the value specified by the second parameter. |
