## XmlElement::set_IsEmpty method


يضبط تنسيق الوسم للعنصر.

```cpp
void System::Xml::XmlElement::set_IsEmpty(bool 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. |

## انظر أيضًا

* Class [XmlElement](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Font for C++](../../../)
