Gets or sets the name of the document type in a document type declaration.
A string specifying the name of the document type.
If an attempt is made to set this property to null, it is set to string.Empty.
Note:A document type declaration is of the following form:
<!DOCTYPE DocTypeName PUBLIC "PublicId" "SystemId" [InternalSubset]>
This property, along with XmlParserContext.InternalSubset, XmlParserContext.PublicId, and XmlParserContext.SystemId properties, provide all the document type declaration information.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0