XmlDataDocument.CreateEntityReference(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an XmlEntityReference with the specified name.
public:
override System::Xml::XmlEntityReference ^ CreateEntityReference(System::String ^ name);
public override System.Xml.XmlEntityReference CreateEntityReference (string name);
override this.CreateEntityReference : string -> System.Xml.XmlEntityReference
Public Overrides Function CreateEntityReference (name As String) As XmlEntityReference
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.