Repository.Xfmea.GetAllXfmeaFailuresDictionary Method

Returns a dictionary object that contains all available failures associated with an FMEA function. The dictionary syntax is Dictionary(Of Integer, XfmeaFailure), where the ID numbers are the keys, and the XfmeaFailure objects that represent the failures are the associated values. (.NET only)

Syntax
.Xfmea.GetAllXfmeaFailuresDictionary(FunctionID)

Parameters
FunctionID
 * Required. Integer. The record ID of the FMEA function.

Example
This example assumes that system hierarchy items with FMEAs exists in the first available project of a repository. VB.NET MyRepository Repository MyRepository.ConnectToAccessRepository MyRepository.Project.SetCurrentProject(1) Dict Dictionary (of Integer, XfmeaFailure) Dict = MyRepository.Xfmea.GetAllXfmeaFailuresDictionary(1) MsgBox(Dict.Count)