MobileControl.GetAttribute(String) Méthode
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.
Récupère la propriété d’attribut spécifiée à partir du contrôle. Cette API est obsolète. Pour plus d’informations sur le développement d’applications mobiles ASP.NET, consultez Mobile Apps & Sites avec ASP.NET.
protected:
System::String ^ GetAttribute(System::String ^ name);
protected string GetAttribute(string name);
member this.GetAttribute : string -> string
Protected Function GetAttribute (name As String) As String
Paramètres
Retours
Représentant String la valeur de l’attribut spécifié ; si aucun attribut avec l’attribut spécifié name n’existe, puis null.
Remarques
La GetAttribute méthode retourne des attributs stockés dans la CustomAttributes propriété. Si CustomAttributes c’est nullle cas, alors GetAttribute retournera nullégalement .