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
)

Parameters

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.

Show:
© 2014 Microsoft