[]
Updates a previously added toolbar item.
public Task UpdateItem(string key, ToolbarItem itemUpdate)
Type | Name | Description |
---|---|---|
string | key | The key of the toolbar item to update. This key should match the one used when the item was added. |
ToolbarItem | itemUpdate | New settings for the toolbar item, which can include changes to its action, icon, text, and other properties. |
Type | Description |
---|---|
Task | A task that represents the asynchronous operation of updating the toolbar item. |