System::Xml::XmlElement::set_IsEmpty method
XmlElement::set_IsEmpty method
Sets the tag format of the element.
void System::Xml::XmlElement::set_IsEmpty(bool value)
Parameter | Type | Description |
---|---|---|
value | bool | The value to set. When setting this value, if set to true, the children of the element are removed and the element is serialized in the short tag format. If set to false, the value is changed (regardless of whether or not the element has content); if the element is empty, it is serialized in the long format. |
See Also
- Class XmlElement
- Namespace System::Xml
- Library Aspose.Page for C++