XmlTokenStream.AddElement(String, String, String, Boolean) Method

Definition

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.

Applies to