Repository.Xfmea.UpdateItemInSystemHierarchy Method

Updates the properties of a given system hierarchy item in the current project. Returns a Boolean value; when true, indicates a successful update.

Syntax
.Xfmea.UpdateItemInSystemHierarchy(item)

Parameters
item
 * Required. The XfmeaItem object that represents the system hierarchy item to be updated.

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

VBA MyRepository Repository MyRepository.ConnectToAccessRepository ListofItems XfmeaItem MyRepository.Project.SetCurrentProject(1) ListofItems = MyRepository.Xfmea.GetAllItemsInSystemHierarchy ListofItems(0).Nm = MyRepository.Xfmea.UpdateItemInSystemHierarchy(ListofItems(0))

VB.NET MyRepository Repository MyRepository.ConnectToAccessRepository ListofItems XfmeaItem MyRepository.Project.SetCurrentProject(1) ListofItems = MyRepository.Xfmea.GetAllItemsInSystemHierarchy ListofItems(0).Nm = MyRepository.Xfmea.UpdateItemInSystemHierarchy(ListofItems(0))