Repository.Xfmea.UpdateItemInSystemHierarchy Method

Applies any changes made to an existing system hierarchy item. Returns a Boolean value; when true, indicates a successful save.

Syntax
.Xfmea.UpdateItemInSystemHierarchy(item)

Parameters
item
 * Required. The XfmeaItem object 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 ListofItems XfmeaItem MyRepository.Project.SetCurrentProject(1) ListofItems = MyRepository.Xfmea.GetAllItemsInSystemHierarchy ListofItems(0).Nm = MyRepository.Xfmea.UpdateItemInSystemHierarchy(ListofItems(0))

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