.NET Components
Chilkat .NET Components for Email, Zip Compression, Encryption, XML, S/MIME, and Character Encoding Conversion

Back to Xml Class Summary

Xml::SearchForTag

Returns the first node having a tag equal to tagName. The search is breadth-first over the tree, and the previous node returned can be passed to the next call as afterNode to continue the search after that node.

  Declarations  
    [Visual Basic]
Public Function SearchForTag(Xml afterNode , ByVal String tagName) As Xml

[C#]
public Xml SearchForTag(Xml afterNode , string tagName);

[C++]
public Xml *SearchForTag(Xml *afterNode , String *tagName);

[JScript]
public function SearchForTag(Xml afterNode , String tagName) : Xml
 
  Parameters  
   
afterNode
Return the first node in the breadth-first traversal after this node whose content matches the pattern
tagName
The matched node must have a tag with this exact value.
 

Copyright 2002, Chilkat Software, Inc. All Rights Reserved.