HtmlAttributeNameAttribute.DictionaryAttributePrefix Property

Definition

Gets or sets the prefix used to match HTML attribute names. Matching attributes are added to the associated property (an 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

Property Value

If associated property is compatible with IDictionary<TKey,TValue>, default value is Name + "-". Name must not be null or empty in this case.

Otherwise default value is null.

Remarks

If non-null associated property must be compatible with IDictionary<TKey,TValue> where TKey is String.

Applies to