XPathNavigator.IsEmptyElement Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, gets a value that indicates whether the current node is an empty element without an end element tag.
public:
abstract property bool IsEmptyElement { bool get(); };
public abstract bool IsEmptyElement { get; }
member this.IsEmptyElement : bool
Public MustOverride ReadOnly Property IsEmptyElement As Boolean
Property Value
true
if the current node is an empty element; otherwise, false
.
Remarks
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 |
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.