C# Class System.Xml.Xsl.Runtime.RtfTextNavigator

This RtfNavigator specializes the case of a root node having a single text node child. This is a very common case, such as in bar.
Inheritance: RtfNavigator
Exibir arquivo Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
Clone ( ) : XPathNavigator

Create a copy of this navigator, positioned to the same node in the tree.

CopyToWriter ( XmlWriter writer ) : void

Preserve serialization hints when deep copying.

MoveTo ( XPathNavigator other ) : bool

Position this navigator to the same position as the "other" navigator. If the "other" navigator is not of the same type as this navigator, then return false.

RtfTextNavigator ( RtfTextNavigator that ) : System

Copy constructor.

RtfTextNavigator ( string text, string baseUri ) : System

Create a new navigator having a text node with value = "text" string.

ToNavigator ( ) : XPathNavigator

Discard serialization hints and return a navigator that actually allows navigation.

Method Details

Clone() public method

Create a copy of this navigator, positioned to the same node in the tree.
public Clone ( ) : XPathNavigator
return System.Xml.XPath.XPathNavigator

CopyToWriter() public method

Preserve serialization hints when deep copying.
public CopyToWriter ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
return void

MoveTo() public method

Position this navigator to the same position as the "other" navigator. If the "other" navigator is not of the same type as this navigator, then return false.
public MoveTo ( XPathNavigator other ) : bool
other System.Xml.XPath.XPathNavigator
return bool

RtfTextNavigator() public method

Copy constructor.
public RtfTextNavigator ( RtfTextNavigator that ) : System
that RtfTextNavigator
return System

RtfTextNavigator() public method

Create a new navigator having a text node with value = "text" string.
public RtfTextNavigator ( string text, string baseUri ) : System
text string
baseUri string
return System

ToNavigator() public method

Discard serialization hints and return a navigator that actually allows navigation.
public ToNavigator ( ) : XPathNavigator
return System.Xml.XPath.XPathNavigator