Repository.Xfmea.GetAllXfmeaFunctionsDictionary Method

Returns a dictionary object that contains all available FMEA functions associated with a system hierarchy item. The dictionary syntax is Dictionary(Of Integer, XfmeaFunction), where the ID numbers are the keys, and the XfmeaFunction objects that represent the FMEA functions are the associated values. (VB.NET only)

Syntax
.Xfmea.GetAllXfmeaFunctionsDictionary(HID,IncludeLinkedAnalyses)

Parameters
HID
 * Required. Integer. The record ID of the system hierarchy item.

IncludeLinkedAnalyses
 * Required. Boolean. Indicates whether to include linked FMEAs in the dictionary.

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, XfmeaFunction) Dict = MyRepository.Xfmea.GetAllXfmeaFunctionsDictionary(1,   MsgBox(Dict.Count)