XmlParserContext.DocTypeName Property

Definition

Gets or sets the name of the document type declaration.

public:
 property System::String ^ DocTypeName { System::String ^ get(); void set(System::String ^ value); };
public string DocTypeName { get; set; }
member this.DocTypeName : string with get, set
Public Property DocTypeName As 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.

Applies to