共用方式為


OpenXmlElement.HasChildren Property

Gets a value indicating whether this element has any child elements.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property HasChildren As Boolean
    Get
'Usage
Dim instance As OpenXmlElement
Dim value As Boolean

value = instance.HasChildren
public abstract bool HasChildren { get; }

Property Value

Type: System.Boolean
Returns Boolean.

See Also

Reference

OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace