StyleBase.Item[] Propriété

Définition

Retourne un élément de la collection.

Surcharges

Item[Int32]

Retourne un style à l'index spécifié.

Item[String]

Retourne un style qui correspond au nom spécifié.

Item[Int32]

Retourne un style à l'index spécifié.

public:
 property System::Object ^ default[int] { System::Object ^ get(int index); };
public object this[int index] { get; }
member this.Item(int) : obj
Default Public ReadOnly Property Item(index As Integer) As Object

Paramètres

index
Int32

Index du style à récupérer.

Valeur de propriété

object contenant le style à l'index spécifié.

S’applique à

Item[String]

Retourne un style qui correspond au nom spécifié.

public:
 abstract property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ styleName); };
public abstract object this[string styleName] { get; }
member this.Item(string) : obj
Default Public MustOverride ReadOnly Property Item(styleName As String) As Object

Paramètres

styleName
String

Nom du style à récupérer.

Valeur de propriété

object contenant le style qui correspond au nom spécifié.

S’applique à