編輯

共用方式為


XMLNode.HasChildNodes Property

Definition

Determines if the specified XML element has child elements.

public:
 property bool HasChildNodes { bool get(); };
public bool HasChildNodes { get; }
member this.HasChildNodes : bool
Public ReadOnly Property HasChildNodes As Boolean

Property Value

Remarks

This property returns True if the specified XML element has child elements, and False if not.

Applies to