Share via


SolutionConfigurations.Item(Object) Method

Definition

Returns a SolutionConfiguration object in a SolutionConfigurations collection.

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

Parameters

index
Object

Returns

A SolutionConfiguration object.

Attributes

Remarks

The value passed to Index is either an integer that is an index to a SolutionConfiguration object in its SolutionConfigurations collection or a SolutionConfiguration object 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