HtmlAttributeNameAttribute Class
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.
Used to override an ITagHelper property's HTML attribute name.
public ref class HtmlAttributeNameAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
public sealed class HtmlAttributeNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)>]
type HtmlAttributeNameAttribute = class
inherit Attribute
Public NotInheritable Class HtmlAttributeNameAttribute
Inherits Attribute
- Inheritance
-
HtmlAttributeNameAttribute
- Attributes
Constructors
HtmlAttributeNameAttribute() |
Instantiates a new instance of the HtmlAttributeNameAttribute class with Name
equal to |
HtmlAttributeNameAttribute(String) |
Instantiates a new instance of the HtmlAttributeNameAttribute class. |
Properties
DictionaryAttributePrefix |
Gets or sets the prefix used to match HTML attribute names. Matching attributes are added to the associated property (an IDictionary<TKey,TValue>). |
DictionaryAttributePrefixSet |
Gets an indication whether DictionaryAttributePrefix has been set. Used to distinguish an
uninitialized DictionaryAttributePrefix value from an explicit |
Name |
HTML attribute name of the associated property. |