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

Windows.Item Method

Returns a Window object in a Windows collection.

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

Window Item(
	Object index


Type: System.Object

Required. The index of the Window object to return.

Return Value

Type: EnvDTE.Window
A Window object.

The value passed to Index is either an integer that is an index to a Window object in its Windows collection or a Window object in the collection.

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

© 2015 Microsoft