Skip to main content

TdxPSExplorerFolder.HasItems Method

Indicates whether the folder contains immediate child items.

Declaration

function HasItems: Boolean; virtual;

Returns

Type
Boolean

Remarks

The number of immediate child items can be obtained via the ItemCount property. If a folder doesn’t contain any child items, this property returns 0.

Use the HasFolders property to determine whether the folder contains child folders.

See Also