Repository.Xfmea.GetAllItemsInSystemHierarchyDictionary Method

Returns a dictionary object that contains all available system hierarchy items in the current project. The dictionary syntax is Dictionary(Of Integer, XfmeaItem), where the ID numbers are the keys, and the XfmeaItem objects that represent the system hierarchy items are the associated values. (VB.NET only)

Syntax
.Xfmea.GetAllItemsInSystemHierarchyDictionary

Example
This example assumes that system hierarchy items exist in the first available project of the repository. VB.NET MyRepository Repository MyRepository.ConnectToAccessRepository MyRepository.Project.SetCurrentProject(1) Dict Dictionary (of Integer, XfmeaItem) Dict = MyRepository.Xfmea.GetAllItemsInSystemHierarchyDictionary MsgBox(Dict.Count)