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
[C#]
public string DocTypeName {get; set;}
[C++]
public: __property String* get_DocTypeName();
public: __property void set_DocTypeName(String*);
[JScript]
public function get DocTypeName() : String;
public function set DocTypeName(String);

Property Value

The name of the document type declaration.

Remarks

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.

Requirements

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

Show: