GetNavigator() public method

Create a document from the cache of events. If a document has already been created previously, return it. This method is thread-safe, and is always guaranteed to return the exact same document, no matter how many threads have called it concurrently.
public GetNavigator ( XmlEventCache events, XmlNameTable nameTable ) : XPathNavigator
events System.Xml.XmlEventCache
nameTable System.Xml.XmlNameTable
return System.Xml.XPath.XPathNavigator
示例#1
0
 /// <summary>
 /// Discard serialization hints and return a navigator that actually allows navigation.
 /// </summary>
 public override XPathNavigator ToNavigator()
 {
     return(_constr.GetNavigator(_text, _baseUri, new NameTable()));
 }
示例#2
0
 /// <summary>
 /// Discard serialization hints and return a navigator that actually allows navigation.
 /// </summary>
 public override XPathNavigator ToNavigator()
 {
     return(_constr.GetNavigator(_events, _nameTable));
 }