편집

다음을 통해 공유


XmlDataDocument.CreateEntityReference(String) Method

Definition

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