Repository.Control.UpdateXfmeaControl

Applies any changes made to an existing Xfmea control. Returns a Boolean value; when true, indicates a successful save.

Syntax
.Control.UpdateXfmeaControl(control)

Parameters
control
 * Required. The cXfmeaControl object to be updated.

Example
This example assumes that an Xfmea control with ID #1 exists in the first available project in a 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)