MobileControl.GetAttribute(String) Méthode
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 Applications mobiles & 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
String représentant la valeur de l'attribut spécifié; s'il n'existe pas d'attribut avec le name
spécifié, puis null
.
La GetAttribute méthode retourne des attributs stockés dans la CustomAttributes propriété . Si CustomAttributes a la valeur null
, retourne GetAttributenull
également .
Produit | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires: