C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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 >.

Описание методов

Clear() публичный Метод

Clear the name, type and attributes.
public Clear ( ) : void
Результат void

Clone() публичный Метод

Clone this object.
public Clone ( ) : object
Результат object

GetAttributeInt() публичный Метод

Get the specified attribute as an integer.
public GetAttributeInt ( String attributeId ) : int
attributeId String The attribute name.
Результат int

GetAttributeValue() публичный Метод

Get the value of the specified attribute.
public GetAttributeValue ( String name ) : String
name String The name of an attribute.
Результат String

SetAttribute() публичный Метод

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.
Результат void

ToString() публичный Метод

Convert this tag back into string form, with the beginning < and ending >.
public ToString ( ) : String
Результат String