Partager via


HtmlAttributeNameAttribute.DictionaryAttributePrefix Propriété

Définition

Obtient ou définit le préfixe utilisé pour faire correspondre les noms d’attributs HTML. Les attributs correspondants sont ajoutés à la propriété associée (un IDictionary<TKey,TValue>).

public:
 property System::String ^ DictionaryAttributePrefix { System::String ^ get(); void set(System::String ^ value); };
public string DictionaryAttributePrefix { get; set; }
member this.DictionaryAttributePrefix : string with get, set
Public Property DictionaryAttributePrefix As String

Valeur de propriété

Si la propriété associée est compatible avec IDictionary<TKey,TValue>, la valeur par défaut est Name + "-". Name ne doit pas être null ou vide dans ce cas.

Sinon, la valeur par défaut est null.

Remarques

Si lanull propriété non associée doit être compatible avec IDictionary<TKey,TValue>TKey est String.

S’applique à