Метод | Описание | |
---|---|---|
Clone ( ) : |
Creates a new HtmlNavigator positioned at the same node as this HtmlNavigator.
|
|
GetAttribute ( string localName, string namespaceURI ) : string |
Gets the value of the HTML attribute with the specified LocalName and NamespaceURI.
|
|
GetNamespace ( string name ) : string |
Returns the value of the namespace node corresponding to the specified local name. Always returns string.Empty for the HtmlNavigator implementation.
|
|
HtmlNodeNavigator ( Stream stream ) : System |
Initializes a new instance of the HtmlNavigator and loads an HTML document from a stream.
|
|
HtmlNodeNavigator ( Stream stream, |
Initializes a new instance of the HtmlNavigator and loads an HTML document from a stream.
|
|
HtmlNodeNavigator ( Stream stream, |
Initializes a new instance of the HtmlNavigator and loads an HTML document from a stream.
|
|
HtmlNodeNavigator ( Stream stream, |
Initializes a new instance of the HtmlNavigator and loads an HTML document from a stream.
|
|
HtmlNodeNavigator ( Stream stream, bool detectEncodingFromByteOrderMarks ) : System |
Initializes a new instance of the HtmlNavigator and loads an HTML document from a stream.
|
|
HtmlNodeNavigator ( TextReader reader ) : System |
Initializes a new instance of the HtmlNavigator and loads an HTML document from a TextReader.
|
|
HtmlNodeNavigator ( string path ) : System |
Initializes a new instance of the HtmlNavigator and loads an HTML document from a file.
|
|
HtmlNodeNavigator ( string path, |
Initializes a new instance of the HtmlNavigator and loads an HTML document from a file.
|
|
HtmlNodeNavigator ( string path, |
Initializes a new instance of the HtmlNavigator and loads an HTML document from a file.
|
|
HtmlNodeNavigator ( string path, |
Initializes a new instance of the HtmlNavigator and loads an HTML document from a file.
|
|
HtmlNodeNavigator ( string path, bool detectEncodingFromByteOrderMarks ) : System |
Initializes a new instance of the HtmlNavigator and loads an HTML document from a file.
|
|
IsSamePosition ( |
Determines whether the current HtmlNavigator is at the same position as the specified HtmlNavigator.
|
|
MoveTo ( |
Moves to the same position as the specified HtmlNavigator.
|
|
MoveToAttribute ( string localName, string namespaceURI ) : bool |
Moves to the HTML attribute with matching LocalName and NamespaceURI.
|
|
MoveToFirst ( ) : bool |
Moves to the first sibling of the current node.
|
|
MoveToFirstAttribute ( ) : bool |
Moves to the first HTML attribute.
|
|
MoveToFirstChild ( ) : bool |
Moves to the first child of the current node.
|
|
MoveToFirstNamespace ( XPathNamespaceScope scope ) : bool |
Moves the XPathNavigator to the first namespace node of the current element. Always returns false for the HtmlNavigator implementation.
|
|
MoveToId ( string id ) : bool |
Moves to the node that has an attribute of type ID whose value matches the specified string.
|
|
MoveToNamespace ( string name ) : bool |
Moves the XPathNavigator to the namespace node with the specified local name. Always returns false for the HtmlNavigator implementation.
|
|
MoveToNext ( ) : bool |
Moves to the next sibling of the current node.
|
|
MoveToNextAttribute ( ) : bool |
Moves to the next HTML attribute.
|
|
MoveToNextNamespace ( XPathNamespaceScope scope ) : bool |
Moves the XPathNavigator to the next namespace node. Always returns falsefor the HtmlNavigator implementation.
|
|
MoveToParent ( ) : bool |
Moves to the parent of the current node.
|
|
MoveToPrevious ( ) : bool |
Moves to the previous sibling of the current node.
|
|
MoveToRoot ( ) : void |
Moves to the root node to which the current node belongs.
|
Метод | Описание | |
---|---|---|
HtmlNodeNavigator ( ) : System | ||
HtmlNodeNavigator ( HtmlAgilityPack.HtmlDocument doc, |
||
HtmlNodeNavigator ( |
||
InternalTrace ( object traceValue ) : void | ||
Reset ( ) : void |
public GetAttribute ( string localName, string namespaceURI ) : string | ||
localName | string | The local name of the HTML attribute. |
namespaceURI | string | The namespace URI of the attribute. Unsupported with the HtmlNavigator implementation. |
Результат | string |
public GetNamespace ( string name ) : string | ||
name | string | The local name of the namespace node. |
Результат | string |
public HtmlNodeNavigator ( Stream stream ) : System | ||
stream | Stream | The input stream. |
Результат | System |
public HtmlNodeNavigator ( Stream stream, |
||
stream | Stream | The input stream. |
encoding | The character encoding to use. | |
Результат | System |
public HtmlNodeNavigator ( Stream stream, |
||
stream | Stream | The input stream. |
encoding | The character encoding to use. | |
detectEncodingFromByteOrderMarks | bool | Indicates whether to look for byte order marks at the beginning of the stream. |
Результат | System |
public HtmlNodeNavigator ( Stream stream, |
||
stream | Stream | The input stream. |
encoding | The character encoding to use. | |
detectEncodingFromByteOrderMarks | bool | Indicates whether to look for byte order marks at the beginning of the stream. |
buffersize | int | The minimum buffer size. |
Результат | System |
public HtmlNodeNavigator ( Stream stream, bool detectEncodingFromByteOrderMarks ) : System | ||
stream | Stream | The input stream. |
detectEncodingFromByteOrderMarks | bool | Indicates whether to look for byte order marks at the beginning of the stream. |
Результат | System |
public HtmlNodeNavigator ( TextReader reader ) : System | ||
reader | TextReader | The TextReader used to feed the HTML data into the document. |
Результат | System |
public HtmlNodeNavigator ( string path ) : System | ||
path | string | The complete file path to be read. |
Результат | System |
public HtmlNodeNavigator ( string path, |
||
path | string | The complete file path to be read. |
encoding | The character encoding to use. | |
Результат | System |
public HtmlNodeNavigator ( string path, |
||
path | string | The complete file path to be read. |
encoding | The character encoding to use. | |
detectEncodingFromByteOrderMarks | bool | Indicates whether to look for byte order marks at the beginning of the file. |
Результат | System |
public HtmlNodeNavigator ( string path, |
||
path | string | The complete file path to be read. |
encoding | The character encoding to use. | |
detectEncodingFromByteOrderMarks | bool | Indicates whether to look for byte order marks at the beginning of the file. |
buffersize | int | The minimum buffer size. |
Результат | System |
public HtmlNodeNavigator ( string path, bool detectEncodingFromByteOrderMarks ) : System | ||
path | string | The complete file path to be read. |
detectEncodingFromByteOrderMarks | bool | Indicates whether to look for byte order marks at the beginning of the file. |
Результат | System |
public IsSamePosition ( |
||
other | The HtmlNavigator that you want to compare against. | |
Результат | bool |
public MoveTo ( |
||
other | The HtmlNavigator positioned on the node that you want to move to. | |
Результат | bool |
public MoveToAttribute ( string localName, string namespaceURI ) : bool | ||
localName | string | The local name of the HTML attribute. |
namespaceURI | string | The namespace URI of the attribute. Unsupported with the HtmlNavigator implementation. |
Результат | bool |
public MoveToFirstNamespace ( XPathNamespaceScope scope ) : bool | ||
scope | XPathNamespaceScope | An XPathNamespaceScope value describing the namespace scope. |
Результат | bool |
public MoveToId ( string id ) : bool | ||
id | string | A string representing the ID value of the node to which you want to move. This argument does not need to be atomized. |
Результат | bool |
public MoveToNamespace ( string name ) : bool | ||
name | string | The local name of the namespace node. |
Результат | bool |
public MoveToNextNamespace ( XPathNamespaceScope scope ) : bool | ||
scope | XPathNamespaceScope | An XPathNamespaceScope value describing the namespace scope. |
Результат | bool |