NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlDocument.CreateEntityReference

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;

Parameters

name
Name of the entity reference.

Return Value

The new XmlEntityReference.

Remarks

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.

See Also

XmlDocument Class | XmlDocument Members | System.NewXml Namespace