Creates an XmlEntityReference with the specified name.
[Visual Basic] Overridable Public Function CreateEntityReference( _ ByVal name As String _ ) As XmlEntityReference [C#] public virtual XmlEntityReference CreateEntityReference( string name ); [C++] public: virtual XmlEntityReference* CreateEntityReference( String* name ); [JScript] public function CreateEntityReference( name : String ) : XmlEntityReference;
The new XmlEntityReference.
If the referenced entity is known, the child list of the XmlEntityReference node is made the same as that of the corresponding XmlEntity node. Note: If any descendant of the XmlEntity node has an unbound namespace prefix, the corresponding descendant of the created XmlEntityReference node is also unbound; (its NamespaceURI is null). The DOM Level 2 does not support any mechanism to fix up unresolved namespace prefixes.
XmlDocument Class | XmlDocument Members | System.NewXml Namespace