Sys.IContainer.getComponents Method

Returns an array of all objects in the current container that inherit from Component.

var a = MyContainer.getComponents();

Return Value

An array of all objects in the current container that inherit from Component.

Remarks

Implement this method for an object that will contain one or more component objects so that the components in that container are available. Types that implement this method should return a copy of the list of components so that modifying the array does not change the contents of the container.

See Also

Reference

Sys.IContainer Interface

Other Resources

Language Reference