Assembly: EnvDTE (in EnvDTE.dll)
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 method throws a ArgumentException exception if the collection cannot find the object that corresponds to the index value.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.