Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

ToolBoxItems.Item Method

Returns a ToolBoxItem object in a ToolBoxItems collection.

Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)

ToolBoxItem^ Item (
	Object^ index
ToolBoxItem Item (
	Object index
function Item (
	index : Object
) : ToolBoxItem



Return Value

A ToolBoxItem object.

The value passed to Index is either an integer that is an index to a ToolBoxItem object in its ToolBoxItems collection or the name of a ToolBoxItem object in the collection.

The Item method throws a ArgumentException exception if the collection cannot find the object that corresponds to the index value.

Community Additions

© 2015 Microsoft