System::Xml::XmlEntity class

XmlEntity class

Represents an entity declaration, such as .

class XmlEntity : public System::Xml::XmlNode

Methods

MethodDescription
CloneNode(bool) overrideCreates a duplicate of this node. Entity nodes cannot be cloned. Calling this method on an XmlEntity object throws an exception.
get_BaseURI() overrideReturns the base Uniform Resource Identifier (URI) of the current node.
get_InnerText() overrideReturns the concatenated values of the entity node and all its children.
get_InnerXml() overrideReturns the markup representing the children of this node.
get_IsReadOnly() overrideReturns a value indicating whether the node is read-only.
get_LocalName() overrideReturns the name of the node without the namespace prefix.
get_Name() overrideReturns the name of the node.
get_NodeType() overrideReturns the type of the node.
get_NotationName()Returns the name of the optional NDATA attribute on the entity declaration.
get_OuterXml() overrideReturns the markup representing this node and all its children.
get_PublicId()Returns the value of the public identifier on the entity declaration.
get_SystemId()Returns the value of the system identifier on the entity declaration.
set_InnerText(String) overrideSets the concatenated values of the entity node and all its children.
set_InnerXml(String) overrideSets the markup representing the children of this node.
WriteContentTo(const SharedPtr<XmlWriter>&) overrideSaves all the children of the node to the specified XmlWriter. For XmlEntity nodes, this method has no effect.
WriteTo(const SharedPtr<XmlWriter>&) overrideSaves the node to the specified XmlWriter. For XmlEntity nodes, this method has no effect.

Typedefs

TypedefDescription
PtrAn alias for shared pointer to an instance of this class.

Remarks

Objects of this class should only be allocated using System::MakeObject() function. Never create instances of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

See Also