Share via


InitString.GetOrCreateNode Method

Definition

Overloads

GetOrCreateNode(XmlNode, String)

Retrieves first named node under parent node, or creates one if it does not exist.

GetOrCreateNode(XmlNode, String, String)

Retrieves first named node under parent node, or creates one if it does not exist.

GetOrCreateNode(XmlNode, String)

Retrieves first named node under parent node, or creates one if it does not exist.

protected:
 System::Xml::XmlNode ^ GetOrCreateNode(System::Xml::XmlNode ^ parentNode, System::String ^ childTagName);
protected System.Xml.XmlNode GetOrCreateNode (System.Xml.XmlNode parentNode, string childTagName);
member this.GetOrCreateNode : System.Xml.XmlNode * string -> System.Xml.XmlNode
Protected Function GetOrCreateNode (parentNode As XmlNode, childTagName As String) As XmlNode

Parameters

parentNode
XmlNode

Specifies the parent node.

childTagName
String

Specifies the name of the child tag.

Returns

Applies to

GetOrCreateNode(XmlNode, String, String)

Retrieves first named node under parent node, or creates one if it does not exist.

protected:
 System::Xml::XmlNode ^ GetOrCreateNode(System::Xml::XmlNode ^ parentNode, System::String ^ childTagName, System::String ^ insertUnderXPath);
protected System.Xml.XmlNode GetOrCreateNode (System.Xml.XmlNode parentNode, string childTagName, string insertUnderXPath);
member this.GetOrCreateNode : System.Xml.XmlNode * string * string -> System.Xml.XmlNode
Protected Function GetOrCreateNode (parentNode As XmlNode, childTagName As String, insertUnderXPath As String) As XmlNode

Parameters

parentNode
XmlNode

Specifies the parent node.

childTagName
String

Specifies the name of the child tag.

insertUnderXPath
String

Specifies the path to insert under.

Returns

Applies to