C# Class Encog.Parse.Tags.Tag

HTMLTag: This class holds a single HTML tag. This class subclasses the AttributeList class. This allows the HTMLTag class to hold a collection of attributes, just as an actual HTML tag does.
Afficher le fichier Open project: encog/encog-silverlight-core Class Usage Examples

Méthodes publiques

Méthode Description
Clear ( ) : void

Clear the name, type and attributes.

Clone ( ) : object

Clone this object.

GetAttributeInt ( String attributeId ) : int

Get the specified attribute as an integer.

GetAttributeValue ( String name ) : String

Get the value of the specified attribute.

SetAttribute ( String name, String valueRen ) : void

Set a HTML attribute.

ToString ( ) : String

Convert this tag back into string form, with the beginning < and ending >.

Method Details

Clear() public méthode

Clear the name, type and attributes.
public Clear ( ) : void
Résultat void

Clone() public méthode

Clone this object.
public Clone ( ) : object
Résultat object

GetAttributeInt() public méthode

Get the specified attribute as an integer.
public GetAttributeInt ( String attributeId ) : int
attributeId String The attribute name.
Résultat int

GetAttributeValue() public méthode

Get the value of the specified attribute.
public GetAttributeValue ( String name ) : String
name String The name of an attribute.
Résultat String

SetAttribute() public méthode

Set a HTML attribute.
public SetAttribute ( String name, String valueRen ) : void
name String The name of the attribute.
valueRen String The value of the attribute.
Résultat void

ToString() public méthode

Convert this tag back into string form, with the beginning < and ending >.
public ToString ( ) : String
Résultat String