InitString.GetOrCreateAttributeNode Method

Retrieves the attribute node under parent node, or create 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 childName As String
Dim returnValue As XmlNode

returnValue = Me.GetOrCreateAttributeNode(parentNode, childName)

Syntax

'Declaration
Protected Function GetOrCreateAttributeNode ( _
    parentNode As XmlNode, _
    childName As String _
) As XmlNode
protected XmlNode GetOrCreateAttributeNode (
    XmlNode parentNode,
    string childName
)
protected:
XmlNode^ GetOrCreateAttributeNode (
    XmlNode^ parentNode, 
    String^ childName
)
protected XmlNode GetOrCreateAttributeNode (
    XmlNode parentNode, 
    String childName
)
protected function GetOrCreateAttributeNode (
    parentNode : XmlNode, 
    childName : String
) : XmlNode

Parameters

  • parentNode
    Specifies the parent node.
  • childName
    Specifies the name of the child.

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.