Repository.Xfmea.UpdateItemInSystemHierarchy Method: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| Kate Racaza (talk | contribs)  Created page with '{{Template:API}}{{Template:APIBreadcrumb|10|.Repository}}   <onlyinclude>Updates the properties of an existing system hierarchy item in the current project. …' | Kate Racaza (talk | contribs) No edit summary | ||
| Line 2: | Line 2: | ||
| <onlyinclude> | <onlyinclude>Applies any changes made to an existing Xfmea system hierarchy item. Returns a '''Boolean''' value; when true, indicates a successful save.</onlyinclude>    | ||
| == Syntax == | == Syntax == | ||
| Line 9: | Line 9: | ||
| === Parameters === | === Parameters === | ||
| ''item'' | ''item'' | ||
| :The [[XfmeaItem Class|XfmeaItem]] object to be updated. (Required) | :Required. The [[XfmeaItem Class|XfmeaItem]] object to be updated. (Required) | ||
| <!-- | <!-- | ||
| == Example == | == Example == | ||
| This example assumes that a system hierarchy item with record ID#1 exists in the repository. | This example assumes that a system hierarchy item with record ID #1 exists in the first available project in a repository. | ||
|   '''VBA''' |   '''VBA''' | ||
| Line 30: | Line 30: | ||
|    MyItem.Nm = {{APIString|"New_Name"}} |    MyItem.Nm = {{APIString|"New_Name"}} | ||
|   {{APIComment|'Apply the  |   {{APIComment|'Apply the change to the item. Changes are recorded in the Synthesis repository.}} | ||
|    {{APIPrefix|Call}} MyRepository.Xfmea.UpdateItemInSystemHierarchy(MyItem) |    {{APIPrefix|Call}} MyRepository.Xfmea.UpdateItemInSystemHierarchy(MyItem) | ||
| Line 48: | Line 48: | ||
|    MyControl.Name = {{APIString|"New_Name"}} |    MyControl.Name = {{APIString|"New_Name"}} | ||
|   {{APIComment|'Apply the  |   {{APIComment|'Apply the change to the control. Changes are recorded in the Synthesis repository.}} | ||
|    MyRepository.Control.UpdateXfmeaControl(MyControl) |    MyRepository.Control.UpdateXfmeaControl(MyControl) | ||
| --> | --> | ||
Revision as of 21:10, 24 August 2015
|  | 
Member of:  SynthesisAPI10.Repository  
Applies any changes made to an existing Xfmea 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. (Required)