Repository.Control.GetAllXfmeaControls

Gets a list of Xfmea controls associated with a project. Returns a cXfmeaControl object array that contains all the Xfmea controls in that project.

Syntax
.Control.GetAllXfmeaControls

Example
This example assumes that Xfmea controls exist in the first available project of a repository.

VBA|VB.NET MyRepository Repository ListofControls cXfmeaControl MyRepository.Project.SetCurrentProject (1) ListofControls = MyRepository.Control.GetAllXfmeaControls NumberofElements Integer NumberofElements = UBound(ListofControls) - LBound(ListofControls) + 1 MsgBox (NumberofElements)