XPathNavigator::IsEmptyElement Property
.NET Framework (current version)
When overridden in a derived class, gets a value indicating whether the current node is an empty element without an end element tag.
Assembly: System.Xml (in System.Xml.dll)
This property enables you to determine the difference between the following different elements.
Element | IsEmptyElement Value |
|---|---|
<item num="123"/> | true |
<item num="123">test</item> | false |
<item num="123"></item> | false |
.NET Framework
Available since 1.1
Silverlight
Available since 4.0
Available since 1.1
Silverlight
Available since 4.0
Show: