Partilhar via


WindowConfigurations.Item(Object) Method

Definition

Returns an indexed member of a WindowConfigurations collection.

public:
 EnvDTE::WindowConfiguration ^ Item(System::Object ^ index);
public:
 EnvDTE::WindowConfiguration ^ Item(Platform::Object ^ index);
EnvDTE::WindowConfiguration Item(winrt::Windows::Foundation::IInspectable const & index);
[System.Runtime.InteropServices.DispId(0)]
public EnvDTE.WindowConfiguration Item (object index);
[<System.Runtime.InteropServices.DispId(0)>]
abstract member Item : obj -> EnvDTE.WindowConfiguration
Public Function Item (index As Object) As WindowConfiguration

Parameters

index
Object

Required. The index of the item to return.

Returns

A WindowConfiguration object.

Attributes

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.

Applies to