C# Class Microsoft.Html.Core.Tree.Nodes.AttributeNode

HTML tree node that represents an attribute
Inheritance: TreeNode
Afficher le fichier Open project: Microsoft/RTVS Class Usage Examples

Méthodes publiques

Méthode Description
Create ( ElementNode parent, AttributeToken token ) : AttributeNode
GetPositionType ( int position ) : HtmlPositionType
HasEqualSign ( ) : bool

Tells if attribute has an equal sign

HasName ( ) : bool

Determines of attribute has name

HasPrefix ( ) : bool

Determines if attribute name has namespace prefix

HasQualifiedName ( ) : bool

Determines if attribute has qualified name (i.e. both prefix and name)

HasValue ( ) : bool

Detemines if attribute has a value

IsScriptAttribute ( ) : bool

Determines if element is a script-type atribute (like onclick="")

IsStandalone ( ) : bool

Determines if attribute is a standalone attribute (i.e. does not have equal sign or value)

IsStyleAttribute ( ) : bool

Determines if attributes is a style attribute

Shift ( int offset ) : void
ShiftStartingFrom ( int position, int offset ) : void
ValueContainsArtifacts ( ) : bool

Determines if attrubute value contains artifacts

Méthodes protégées

Méthode Description
AttributeNode ( ElementNode parent, AttributeToken token ) : System

Private Methods

Méthode Description
ToString ( ) : string
UpdateValue ( ITextProvider textProvider ) : void

Method Details

AttributeNode() protected méthode

protected AttributeNode ( ElementNode parent, AttributeToken token ) : System
parent ElementNode
token Microsoft.Html.Core.Parser.Tokens.AttributeToken
Résultat System

Create() public static méthode

public static Create ( ElementNode parent, AttributeToken token ) : AttributeNode
parent ElementNode
token Microsoft.Html.Core.Parser.Tokens.AttributeToken
Résultat AttributeNode

GetPositionType() public méthode

public GetPositionType ( int position ) : HtmlPositionType
position int
Résultat HtmlPositionType

HasEqualSign() public méthode

Tells if attribute has an equal sign
public HasEqualSign ( ) : bool
Résultat bool

HasName() public méthode

Determines of attribute has name
public HasName ( ) : bool
Résultat bool

HasPrefix() public méthode

Determines if attribute name has namespace prefix
public HasPrefix ( ) : bool
Résultat bool

HasQualifiedName() public méthode

Determines if attribute has qualified name (i.e. both prefix and name)
public HasQualifiedName ( ) : bool
Résultat bool

HasValue() public méthode

Detemines if attribute has a value
public HasValue ( ) : bool
Résultat bool

IsScriptAttribute() public méthode

Determines if element is a script-type atribute (like onclick="")
public IsScriptAttribute ( ) : bool
Résultat bool

IsStandalone() public méthode

Determines if attribute is a standalone attribute (i.e. does not have equal sign or value)
public IsStandalone ( ) : bool
Résultat bool

IsStyleAttribute() public méthode

Determines if attributes is a style attribute
public IsStyleAttribute ( ) : bool
Résultat bool

Shift() public méthode

public Shift ( int offset ) : void
offset int
Résultat void

ShiftStartingFrom() public méthode

public ShiftStartingFrom ( int position, int offset ) : void
position int
offset int
Résultat void

ValueContainsArtifacts() public méthode

Determines if attrubute value contains artifacts
public ValueContainsArtifacts ( ) : bool
Résultat bool