Dela via


XmlDocument.CreateEntityReference(String) Method

Definition

Creates a new XmlEntityReference object.

public:
 virtual XmlEntityReference ^ CreateEntityReference(Platform::String ^ name) = CreateEntityReference;
XmlEntityReference CreateEntityReference(winrt::hstring const& name);
public XmlEntityReference CreateEntityReference(string name);
function createEntityReference(name)
Public Function CreateEntityReference (name As String) As XmlEntityReference

Parameters

name
String

Platform::String

winrt::hstring

The name of the entity referenced. This name is subsequently available as the new object's NodeName property.

Returns

The newly created object.

Applies to