Поделиться через


WindowConfigurations.Item Method

Returns an indexed member of a WindowConfigurations collection.

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

Syntax

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

Parameters

  • index
    Type: System.Object
    Required. The index of the item to return.

Return Value

Type: EnvDTE.WindowConfiguration
A WindowConfiguration object.

Remarks

The value passed to index is an integer that is an index to a WindowConfiguration object in its collection. Index can alternatively be a string value that equates to the name of a WindowConfiguration 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

WindowConfigurations Interface

EnvDTE Namespace

Other Resources

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