InitString.GetOrCreateAttributeNode(XmlNode, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the attribute node under parent node, or create one if it does not exist.
protected:
System::Xml::XmlNode ^ GetOrCreateAttributeNode(System::Xml::XmlNode ^ parentNode, System::String ^ childName);
protected System.Xml.XmlNode GetOrCreateAttributeNode (System.Xml.XmlNode parentNode, string childName);
member this.GetOrCreateAttributeNode : System.Xml.XmlNode * string -> System.Xml.XmlNode
Protected Function GetOrCreateAttributeNode (parentNode As XmlNode, childName As String) As XmlNode
Parameters
- parentNode
- XmlNode
Specifies the parent node.
- childName
- String
Specifies the name of the child.