System::Xml::XmlNotation class

XmlNotation class

Represents a notation declaration, such as .

class XmlNotation : public System::Xml::XmlNode

Methods

MethodDescription
CloneNode(bool) overrideCreates a duplicate of this node. Notation nodes cannot be cloned. Calling this method on an XmlNotation object throws an exception.
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 current node without the namespace prefix.
get_Name() overrideReturns the name of the current node.
get_NodeType() overrideReturns the type of the current node.
get_OuterXml() overrideReturns the markup representing this node and all its children.
get_PublicId()Returns the value of the public identifier on the notation declaration.
get_SystemId()Returns the value of the system identifier on the notation declaration.
set_InnerXml(String) overrideSets the markup representing the children of this node.
WriteContentTo(const SharedPtr<XmlWriter>&) overrideSaves the children of the node to the specified XmlWriter. This method has no effect on XmlNotation nodes.
WriteTo(const SharedPtr<XmlWriter>&) overrideSaves the node to the specified XmlWriter. This method has no effect on XmlNotation nodes.

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