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

Back to Xml Class Summary

Xml::FindOrAddNewChild

First searches for a child having a tag equal to tagName, and if found, returns it. Otherwise creates a new child, sets the tag equal to tagName, and initializes the Content to empty.

  Declarations  
    [Visual Basic]
Public Function FindOrAddNewChild(ByVal String tagName) As Boolean

[C#]
public bool FindOrAddNewChild(string tagName);

[C++]
public bool FindOrAddNewChild(String *tagName);

[JScript]
public function FindOrAddNewChild(String tagName) : Boolean
 
  Parameters  
   
tagName
Search for a child having this tag before creating and returning a new XML child node.
 

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