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

Exibir arquivo Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
Add ( string key, XPathNavigator navigator ) : void

Add a node indexed by the specified key value.

Lookup ( string key ) : XmlQueryNodeSequence

Lookup a sequence of nodes that are indexed by the specified key value. Return a non-null empty sequence, if there are no nodes associated with the key.

Private Methods

Method Description
XmlILIndex ( ) : System

This constructor is internal so that external users cannot construct it (and therefore we do not have to test it separately).

Method Details

Add() public method

Add a node indexed by the specified key value.
public Add ( string key, XPathNavigator navigator ) : void
key string
navigator System.Xml.XPath.XPathNavigator
return void

Lookup() public method

Lookup a sequence of nodes that are indexed by the specified key value. Return a non-null empty sequence, if there are no nodes associated with the key.
public Lookup ( string key ) : XmlQueryNodeSequence
key string
return XmlQueryNodeSequence