Repository.Control.UpdateXfmeaControl

Updates the properties of an existing Xfmea control in the current project. Changes are reflected in the repository immediately upon refresh. Returns a Boolean value; when true, indicates a successful update.

Syntax
.Control.UpdateXfmeaControl(control)

Parameters
control
 * The cXfmeaControl object to be updated.

Example
This example assumes that an Xfmea control with ID#1 exists in the repository.

VBA MyRepository Repository MyControl cXfmeaControl MyRepository.Project.SetCurrentProject(1) MyControl = MyRepository.Control.GetXfmeaControl(1) MyControl.Name = MyRepository.Control.UpdateXfmeaControl(MyControl)

VB.NET MyRepository Repository MyControl cXfmeaControl MyRepository.Project.SetCurrentProject(1) MyControl = MyRepository.Control.GetXfmeaControl(1) MyControl.Name = MyRepository.Control.UpdateXfmeaControl(MyControl)