Repository.Xfmea.GetXfmeaCauseControlsDictionary Method

Returns a dictionary object containing all controls (cXfmeaControl) currently assigned to a certain cause in the current project. The dictionary syntax is Dictionary(Of Integer, cXfmeaControl), where the ID numbers are the keys and the cXfmeaControl objects that represent the control resources are the associated values. (.NET only)

Syntax
.Xfmea.GetXfmeaCauseControlsDictionary(CauseID)

Parameters
Cause ID
 * Required. The Cause ID used to obtain all associated controls.

Example
VB.NET MyRepository Repository MyRepository.ConnectToAccessRepository Causes cCause Causes = MyRepository.Xfmea.GetAllXfmeaCauses(1) ControlsDict cXfmeaControl ControlsDict= MyRepository.Xfmea.GetXfmeaCauseControlsDictionary(Causes(0))