Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

UIHierarchyItems.Item Method

Returns a UIHierarchyItem object in a UIHierarchyItems collection.

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

UIHierarchyItem Item (
	[InAttribute] Object index
UIHierarchyItem Item (
	/** @attribute InAttribute() */ Object index
function Item (
	index : Object
) : UIHierarchyItem



Return Value

A UIHierarchyItem object.

The value passed to Index is an integer that is either an index to a UIHierarchyItem object in its UIHierarchyItems collection, such as OutputWindowPanes.Item(4), or the name of a UIHierarchyItem object in the collection.

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.