Table of Contents

WriteStartElement Method

Definition

Namespace
Cuemon.Extensions.Xml
Assemblies
Cuemon.Extensions.Xml.dll
Source
src/Cuemon.Extensions.Xml/XmlWriterExtensions.cs

WriteStartElement(XmlWriter, XmlQualifiedEntity)

Writes the specified start tag and associates it with the given elementName.

public static void WriteStartElement(this XmlWriter writer, XmlQualifiedEntity elementName)

Parameters

writer XmlWriter

The XmlWriter to extend.

elementName XmlQualifiedEntity

The fully qualified name of the element.

Exceptions

ArgumentNullException

writer cannot be null.