How to get all components that is in a blueprint?

Is there anyway to get all components instead of all components of class?