This topic has not yet been rated - Rate this topic

ToolboxService.GetItemContainers Method

Returns an IList containing all items on the toolbox.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Protected method GetItemContainers() Returns an IList containing all items on the toolbox.
Protected method GetItemContainers(String) Returns an IList containing all items in a given category.
Top

The items in the list must be ToolboxItemContainer objects. If the toolbox implementation is organized in categories, this retrieves a combined list of all categories. The list must be read/write, as new items may be added to it.

When the toolbox service adds a new item, it first calls the CreateItemContainer method and then adds the new item to the IList returned from the GetItemContainers method.

If a category name is provided, only the items in that category should be returned. If no category is specified, all items should be returned.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.