This documentation is archived and is not being maintained.

XmlParserContext.DocTypeName Property

Gets or sets the name of the document type declaration.

[Visual Basic]
Public Property DocTypeName As String
public string DocTypeName {get; set;}
public: __property String* get_DocTypeName();
public: __property void set_DocTypeName(String*);
public function get DocTypeName() : String;
public function set DocTypeName(String);

Property Value

The name of the document type declaration.


This property, along with PublicId, SystemId, and InternalSubset, provides all the document type declaration information. It is used to find and load the necessary DTD information so that you get all the default attributes and entities defined in the DTD.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

XmlParserContext Class | XmlParserContext Members | System.Xml Namespace