This topic has not yet been rated - Rate this topic

Windows.Item Method

Returns a Window object in a Windows collection.

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

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

Parameters

index

Required. The index of the Window object to return.

Return Value

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Advertisement