XmlDocument.Doctype 屬性

定義

針對 XML,這個屬性會取得指定 DTD 之節點的位址。 此屬性會針對不含 DTD 的 HTML 檔案和 XML 檔傳回 Null。

public:
 property XmlDocumentType ^ Doctype { XmlDocumentType ^ get(); };
XmlDocumentType Doctype();
public XmlDocumentType Doctype { get; }
var xmlDocumentType = xmlDocument.doctype;
Public ReadOnly Property Doctype As XmlDocumentType

屬性值

檔案類型。

適用於