XPathNavigator.AppendChildElement Method

Creates a new child element node at the end of the list of child nodes of the current node using the namespace prefix, local name and namespace URI specified with the value specified.

Namespace:  System.Xml.XPath
Assembly:  System.Xml.XPath (in System.Xml.XPath.dll)

Syntax

'Declaration
Public Overridable Sub AppendChildElement ( _
    prefix As String, _
    localName As String, _
    namespaceURI As String, _
    value As String _
)
public virtual void AppendChildElement(
    string prefix,
    string localName,
    string namespaceURI,
    string value
)

Parameters

  • prefix
    Type: System.String
    The namespace prefix of the new child element node (if any).
  • localName
    Type: System.String
    The local name of the new child element node (if any).
  • namespaceURI
    Type: System.String
    The namespace URI of the new child element node (if any). Empty and nulla null reference (Nothing in Visual Basic) are equivalent.
  • value
    Type: System.String
    The value of the new child element node. If Empty or nulla null reference (Nothing in Visual Basic) are passed, an empty element is created.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.