SolutionContexts.Item(Object) Methode

Definition

Ruft ein SolutionContext-Objekt in einer SolutionContexts-Auflistung ab.

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

Parameter

index
Object

Gibt zurück

SolutionContext

Ein SolutionContext-Objekt.

Attribute

Hinweise

Der an über gegebene Wert Index ist entweder eine ganze Zahl, die ein Index für ein-Objekt in der-Auflistung ist, SolutionContext SolutionContexts oder eine Zeichenfolge, die den Namen eines- SolutionContext Objekts ist.

Die- Item Methode löst eine-Ausnahme aus, wenn die Auflistung das- ArgumentException Objekt nicht finden kann, das dem Indexwert entspricht.

Gilt für