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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.