HtmlAttributeNameAttribute.DictionaryAttributePrefix Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.