InitString.GetOrCreateNode Method (XmlNode, String)
Retrieves first named node under parent node, or creates one if it does not exist.
Namespace: Microsoft.Uii.Common
Assembly: Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)
Usage
'Usage
Dim parentNode As XmlNode
Dim childTagName As String
Dim returnValue As XmlNode
returnValue = Me.GetOrCreateNode(parentNode, childTagName)
Syntax
'Declaration
Protected Function GetOrCreateNode ( _
parentNode As XmlNode, _
childTagName As String _
) As XmlNode
protected XmlNode GetOrCreateNode (
XmlNode parentNode,
string childTagName
)
protected:
XmlNode^ GetOrCreateNode (
XmlNode^ parentNode,
String^ childTagName
)
protected XmlNode GetOrCreateNode (
XmlNode parentNode,
String childTagName
)
protected function GetOrCreateNode (
parentNode : XmlNode,
childTagName : String
) : XmlNode
Parameters
- parentNode
Specifies the parent node.
- childTagName
Specifies the name of the child tag.
Return Value
Type: XmlNode
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
InitString Class
InitString Members
Microsoft.Uii.Common Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.