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

Back to Xml Class Summary

Xml::NewChild

Creates a new child having tag and content. The new child is created even if a child with a tag equal to tagName already exists. (Use FindOrAddNewChild to prevent creating children having the same tags.)

  Declarations  
    [Visual Basic]
Public Function NewChild(ByVal String tagName , ByVal String content) As Xml

[C#]
public Xml NewChild(string tagName , string content);

[C++]
public Xml *NewChild(String *tagName , String *content);

[JScript]
public function NewChild(String tagName , String content) : Xml
 
  Parameters  
   
tagName
Create a new child having a tag with this name.
content
The new child will contain this content, which may be empty.
 

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