count_components


Description:

[ Version ( since = "1.0" ) ]
public int count_components (ComponentKind kind)

Counts the child Component with the target kind in the parent one.

Parameters:

this

The Component to be checked

kind

The target ComponentKind

Returns:

The count of child Component in the parent one.