共用方式為


XmlParserContext.InternalSubset 屬性

定義

取得或設定內部DTD子集。

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

屬性值

內部DTD子集。 例如,此性質回傳方括號 <!DOCTYPE doc [...]>之間的所有內容。

備註

此屬性連同 DocTypeNamePublicIdSystemId、 提供所有文件類型的宣告資訊。 它用來尋找並載入必要的 DTD 資訊,讓你取得 DTD 中定義的所有預設屬性和實體。

DTD 用於實體解析,而非文件驗證。

適用於