System.Xml.XmlWriter.WriteEntityRefAsync Method

Asynchronously writes out an entity reference as &name;.

Syntax

public virtual System.Threading.Tasks.Task WriteEntityRefAsync (string name)

Parameters

name
The name of the entity reference.

Returns

The task that represents the asynchronous WriteEntityRef operation.

Remarks

This is the asynchronous version of XmlWriter.WriteEntityRef(string), with the same functionality. To use this method, you must set the XmlWriterSettings.Async flag to true.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 4.0.0.0