StyleBase.Item[] Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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é.