Freigeben über


Windows.Item Method

Returns a Window object in a Windows collection.

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

Syntax

'Declaration
Function Item ( _
    index As Object _
) As Window
Window Item(
    Object index
)
Window^ Item(
    [InAttribute] Object^ index
)
abstract Item : 
        index:Object -> Window
function Item(
    index : Object
) : Window

Parameters

Return Value

Type: EnvDTE.Window
A Window object.

Remarks

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.

.NET Framework Security

See Also

Reference

Windows Interface

EnvDTE Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples