HtmlTargetElementAttribute Constructors
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.
Overloads
HtmlTargetElementAttribute() |
Instantiates a new instance of the HtmlTargetElementAttribute class that targets all HTML elements with the required Attributes. |
HtmlTargetElementAttribute(String) |
Instantiates a new instance of the HtmlTargetElementAttribute class with the given
|
HtmlTargetElementAttribute()
Instantiates a new instance of the HtmlTargetElementAttribute class that targets all HTML elements with the required Attributes.
public:
HtmlTargetElementAttribute();
public HtmlTargetElementAttribute ();
Public Sub New ()
Remarks
Tag is set to *
.
Applies to
HtmlTargetElementAttribute(String)
Instantiates a new instance of the HtmlTargetElementAttribute class with the given
tag
as its Tag value.
public:
HtmlTargetElementAttribute(System::String ^ tag);
public HtmlTargetElementAttribute (string tag);
new Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute : string -> Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute
Public Sub New (tag As String)
Parameters
- tag
- String
The HTML tag the ITagHelper targets.
Remarks
A *
tag
value indicates this ITagHelper targets all HTML elements with the required Attributes.