C# 클래스 Microsoft.Html.Core.Tree.Nodes.AttributeNode

HTML tree node that represents an attribute
상속: TreeNode
파일 보기 프로젝트 열기: Microsoft/RTVS 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
AttributeNode ( ElementNode parent, AttributeToken token ) : System

비공개 메소드들

메소드 설명
ToString ( ) : string
UpdateValue ( ITextProvider textProvider ) : void

메소드 상세

AttributeNode() 보호된 메소드

protected AttributeNode ( ElementNode parent, AttributeToken token ) : System
parent ElementNode
token Microsoft.Html.Core.Parser.Tokens.AttributeToken
리턴 System

Create() 공개 정적인 메소드

public static Create ( ElementNode parent, AttributeToken token ) : AttributeNode
parent ElementNode
token Microsoft.Html.Core.Parser.Tokens.AttributeToken
리턴 AttributeNode

GetPositionType() 공개 메소드

public GetPositionType ( int position ) : HtmlPositionType
position int
리턴 HtmlPositionType

HasEqualSign() 공개 메소드

Tells if attribute has an equal sign
public HasEqualSign ( ) : bool
리턴 bool

HasName() 공개 메소드

Determines of attribute has name
public HasName ( ) : bool
리턴 bool

HasPrefix() 공개 메소드

Determines if attribute name has namespace prefix
public HasPrefix ( ) : bool
리턴 bool

HasQualifiedName() 공개 메소드

Determines if attribute has qualified name (i.e. both prefix and name)
public HasQualifiedName ( ) : bool
리턴 bool

HasValue() 공개 메소드

Detemines if attribute has a value
public HasValue ( ) : bool
리턴 bool

IsScriptAttribute() 공개 메소드

Determines if element is a script-type atribute (like onclick="")
public IsScriptAttribute ( ) : bool
리턴 bool

IsStandalone() 공개 메소드

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

IsStyleAttribute() 공개 메소드

Determines if attributes is a style attribute
public IsStyleAttribute ( ) : bool
리턴 bool

Shift() 공개 메소드

public Shift ( int offset ) : void
offset int
리턴 void

ShiftStartingFrom() 공개 메소드

public ShiftStartingFrom ( int position, int offset ) : void
position int
offset int
리턴 void

ValueContainsArtifacts() 공개 메소드

Determines if attrubute value contains artifacts
public ValueContainsArtifacts ( ) : bool
리턴 bool