Bewerken

Share via


XmlEntityReference(String, XmlDocument) Constructor

Definition

Initializes a new instance of the XmlEntityReference class.

protected public:
 XmlEntityReference(System::String ^ name, System::Xml::XmlDocument ^ doc);
protected internal XmlEntityReference (string name, System.Xml.XmlDocument doc);
new System.Xml.XmlEntityReference : string * System.Xml.XmlDocument -> System.Xml.XmlEntityReference
Protected Friend Sub New (name As String, doc As XmlDocument)

Parameters

name
String

The name of the entity reference; see the Name property.

doc
XmlDocument

The parent XML document.

Remarks

Do not instantiate an XmlEntityReference directly; instead, use methods such as CreateEntityReference.

Applies to

See also