TXMLDocumentIsEmptyDoc (C++)
Description
The following example uses the IsEmptyDoc function.
Code
void Test_IsEmptyDoc() {
_di_IXMLDocument document;
document = interface_cast<Xmlintf::IXMLDocument>(new TXMLDocument(NULL));
document->Active = true;
// Should display that the document is empty.
if (document->IsEmptyDoc()) {
printf("Document is empty.\n");
}
}
Uses
- Xml.XMLDoc.TXMLDocument.Active ( fr | de | ja )
- Xml.XMLDoc.TXMLDocument.IsEmptyDoc ( fr | de | ja )