C# Class HtmlKit.HtmlAttribute

An HTML attribute.
An HTML attribute.
Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Méthode Description
HtmlAttribute ( HtmlAttributeId id, string value ) : System

Initializes a new instance of the HtmlAttribute class.

Creates a new HTML attribute with the given id and value.

HtmlAttribute ( string name, string value ) : System

Initializes a new instance of the HtmlAttribute class.

Creates a new HTML attribute with the given name and value.

Private Methods

Méthode Description
HtmlAttribute ( string name ) : System

Method Details

HtmlAttribute() public méthode

Initializes a new instance of the HtmlAttribute class.
Creates a new HTML attribute with the given id and value.
/// is not a valid value. ///
public HtmlAttribute ( HtmlAttributeId id, string value ) : System
id HtmlAttributeId The attribute identifier.
value string The attribute value.
Résultat System

HtmlAttribute() public méthode

Initializes a new instance of the HtmlAttribute class.
Creates a new HTML attribute with the given name and value.
/// is null. ///
public HtmlAttribute ( string name, string value ) : System
name string The attribute name.
value string The attribute value.
Résultat System