XmlTokenStream.AddElement(String, String, String, Boolean) 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.
Adds a XML element node to the collection
public void AddElement (string prefix, string localName, string namespace, bool isEmptyElement);
member this.AddElement : string * string * string * bool -> unit
Public Sub AddElement (prefix As String, localName As String, namespace As String, isEmptyElement As Boolean)
Parameters
- prefix
- String
the XML prefix.
- localName
- String
the local name of the element.
- namespace
- String
the namespace of the attribute.
- isEmptyElement
- Boolean
value indicating if the element is empty.
Exceptions
if localName
is null or empty.