Repository.Xfmea.GetItemInSystemHierarchy Method

Returns an XfmeaItem object that represents a given system hierarchy item in the current project.

Syntax
.Xfmea.GetItemInSystemHierarchy(HID)

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

Example
This example assumes that a system hierarchy item with ID#1 exists in the first available project of a repository.

VBA MyRepository Repository MyRepository.ConnectToAccessRepository Item XfmeaItem MyRepository.Project.SetCurrentProject (1) Item = MyRepository.Xfmea.GetItemInSystemHierarchy(1) MsgBox (Item.Nm)

VB.NET MyRepository Repository MyRepository.ConnectToAccessRepository Item XfmeaItem MyRepository.Project.SetCurrentProject (1) Item = MyRepository.Xfmea.GetItemInSystemHierarchy(1) MsgBox (Item.Nm)