XmlDataDocument.CreateEntityReference(String) Method

Definition

Creates an XmlEntityReference with the specified name.

C#
public override System.Xml.XmlEntityReference CreateEntityReference(string name);

Parameters

name
String

The name of the entity reference.

Returns

An XmlEntityReference with the specified name.

Exceptions

Calling this method.

Remarks

XmlEntityReference nodes cannot be created for XmlDataDocument objects. Calling this method throws an exception.

Applies to

Produkt Versioner
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1