TagHelperAttribute 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.
An HTML tag helper attribute.
public ref class TagHelperAttribute : Microsoft::AspNetCore::Html::IHtmlContentContainer
public class TagHelperAttribute : Microsoft.AspNetCore.Html.IHtmlContentContainer
type TagHelperAttribute = class
interface IHtmlContentContainer
interface IHtmlContent
type TagHelperAttribute = class
interface IHtmlContent
interface IHtmlContentContainer
Public Class TagHelperAttribute
Implements IHtmlContentContainer
- Inheritance
-
TagHelperAttribute
- Implements
Constructors
TagHelperAttribute(String, Object, HtmlAttributeValueStyle) |
Instantiates a new instance of TagHelperAttribute with the specified |
TagHelperAttribute(String, Object) |
Instantiates a new instance of TagHelperAttribute with the specified |
TagHelperAttribute(String) |
Instantiates a new instance of TagHelperAttribute with the specified |
Properties
Name |
Gets the name of the attribute. |
Value |
Gets the value of the attribute. |
ValueStyle |
Gets the value style of the attribute. |
Methods
CopyTo(IHtmlContentBuilder) |
Copies the contained content of this IHtmlContentContainer into |
Equals(Object) | Determines whether the specified object is equal to the current object. |
Equals(TagHelperAttribute) | Determines whether the specified object is equal to the current object. |
GetHashCode() | Serves as the default hash function. |
MoveTo(IHtmlContentBuilder) |
Moves the contained content of this IHtmlContentContainer into After MoveTo(IHtmlContentBuilder) is called, this IHtmlContentContainer instance should be left in an empty state. |
WriteTo(TextWriter, HtmlEncoder) |
Writes the content by encoding it with the specified |