public static GetElementChild ( XPathNode &pageNode, int &idxNode, string localName, string namespaceName ) : bool | ||
pageNode | XPathNode | |
idxNode | int | |
localName | string | |
namespaceName | string | |
Résultat | bool |
/// <summary> /// Move to the first element child of the current node with the specified name. Return false /// if the current node has no matching element children. /// </summary> public override bool MoveToChild(string localName, string namespaceURI) { if ((object)localName != (object)_atomizedLocalName) _atomizedLocalName = (localName != null) ? NameTable.Get(localName) : null; return XPathNodeHelper.GetElementChild(ref _pageCurrent, ref _idxCurrent, _atomizedLocalName, namespaceURI); }
public override bool MoveToChild(string localName, string namespaceURI) { if (localName != this.atomizedLocalName) { this.atomizedLocalName = (localName != null) ? this.NameTable.Get(localName) : null; } return(XPathNodeHelper.GetElementChild(ref this.pageCurrent, ref this.idxCurrent, this.atomizedLocalName, namespaceURI)); }