nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Runtime / TagAttributeParser

TagAttributeParser

Full name Microsoft.VisualBasic.Text.Parser.HtmlParser.TagAttributeParser Assembly Microsoft.VisualBasic.Runtime Members 10

01 Syntax

Microsoft.VisualBasic.Text.Parser.HtmlParser.TagAttributeParser

02 Methods

NameOverloadsSummary
TagAttributes 1 获取一个html标签之中的所有的attribute属性数据
attr 1 Get element attribute value
href 1 Gets the link text in the html fragement text.
src 1 Parsing image source url from the img html tag.
img 1 parse a image tag
class 1
classList 1
GetImageLinks 1

03 Fields

NameOverloadsSummary
attributeParse 1 The regexp pattern for the attributes in a html tag.
imgHtmlTagPattern 1

04 Members

method TagAttributes #
TagAttributes(String)

获取一个html标签之中的所有的attribute属性数据

Parameters
NameTypeDescription
tag$String

-

method attr #
attr(String, String)

Get element attribute value

Parameters
NameTypeDescription
html$String

-

attrName$String

-

method href #
href(String, String)

Gets the link text in the html fragement text.

Parameters
NameTypeDescription
htmlString

A string that contains the url string pattern like: href="url_text"

method src #
src(String)

Parsing image source url from the img html tag.

Parameters
NameTypeDescription
imgString

-

method img #
img(String)

parse a image tag

Parameters
NameTypeDescription
html$String

-

field attributeParse #
attributeParse

The regexp pattern for the attributes in a html tag.

field imgHtmlTagPattern #
imgHtmlTagPattern
method class #
class(String)
method classList #
classList(String)