Table of Contents

WriteStartElement Method

Definition

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

WriteStartElement(IDecorator<XmlWriter>, XmlQualifiedEntity)

Writes the specified start tag and associates it with the given elementName of the enclosed XmlWriter of the specified decorator.

public static void WriteStartElement(this IDecorator<XmlWriter> decorator, XmlQualifiedEntity elementName)

Parameters

decorator IDecorator<XmlWriter>

The IDecorator<T> to extend.

elementName XmlQualifiedEntity

The fully qualified name of the element.

Exceptions

ArgumentNullException

decorator cannot be null.