NameIdPair Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
(published changes for 10.1.4)
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:APIClass|Repository Class|Repository}}  
{{Template:API}}{{Template:APIBreadcrumb}}
Stores the name and ID of a project, model or XFRACAS entity.


== Constructors ==
*NameIdPair( Integer, String ) {{APIComment|Creates a new NameIdPair object to store the name/ID of a project, model or XFRACAS entity. This is automatically called by applicable methods in the [[Repository_Class|Repository]] class.)}}


== Methods ==
<onlyinclude>Represents the name and ID pair of a project, XFRACAS entity, model resource, reliability block diagram (RBD) or fault tree.</onlyinclude>
*[[NameIdPair.ToString|ToString]] {{APIComment|Returns the value of the Name property.}}


== Properties  ==
== Properties  ==
*Name (as ''string'') {{APIComment|Gets or set the name.}}
{| {{APITable}}
*ID (as ''integer'') {{APIComment|Gets or set the ID number.}}
|-
| style="width: 130px;"|Name||Gets or sets the name. '''String'''.
|-
|ID||Gets or sets the numeric ID number. '''Integer'''.
|}
 
 
 
 
 
 
==See Also==
*[[Repository.Project.GetAllProjects|Repository.Project.GetAllProjects Method]]
*[[Repository.Project.GetCurrentProject|Repository.Project.GetCurrentProject Method]]
*[[Repository.XFRACAS.GetAllXFRACASEntities|Repository.XFRACAS.GetAllXFRACASEntities Method]]
*[[Repository.Model.GetAllModelsInfo|Repository.Model.GetAllModelsInfo Method]]
*[[Repository.BlockSim.GetAllRBDs]]
*[[Repository.BlockSim.GetAllFaultTrees]]

Latest revision as of 23:36, 6 September 2016

APIWiki.png


Member of: SynthesisAPI


Represents the name and ID pair of a project, XFRACAS entity, model resource, reliability block diagram (RBD) or fault tree.

Properties

Name Description
Name Gets or sets the name. String.
ID Gets or sets the numeric ID number. Integer.




See Also