System::Xml::XmlDocumentType class

XmlDocumentType class

Represents the document type declaration.

class XmlDocumentType : public System::Xml::XmlLinkedNode

Methods

MethodDescription
CloneNode(bool) overrideCreates a duplicate of this node.
get_Entities()Returns the collection of XmlEntity nodes declared in the document type declaration.
get_InternalSubset()Returns the value of the document type definition (DTD) internal subset on the DOCTYPE declaration.
get_IsReadOnly() overrideReturns a value indicating whether the node is read-only.
get_LocalName() overrideReturns the local name of the node.
get_Name() overrideReturns the qualified name of the node.
get_NodeType() overrideReturns the type of the current node.
get_Notations()Returns the collection of XmlNotation nodes present in the document type declaration.
get_PublicId()Returns the value of the public identifier on the DOCTYPE declaration.
get_SystemId()Returns the value of the system identifier on the DOCTYPE declaration.
WriteContentTo(const SharedPtr<XmlWriter>&) overrideSaves all the children of the node to the specified XmlWriter. For XmlDocumentType nodes, this method has no effect.
WriteTo(const SharedPtr<XmlWriter>&) overrideSaves the node to the specified XmlWriter.

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