Modifier

Partager via


XmlParserContext.InternalSubset Property

Definition

Gets or sets the internal DTD subset.

public:
 property System::String ^ InternalSubset { System::String ^ get(); void set(System::String ^ value); };
public string InternalSubset { get; set; }
member this.InternalSubset : string with get, set
Public Property InternalSubset As String

Property Value

The internal DTD subset. For example, this property returns everything between the square brackets <!DOCTYPE doc [...]>.

Remarks

This property, along with DocTypeName, PublicId, and SystemId, 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.

The DTD is used for entity resolution, not for document validation.

Applies to