NameIdPair Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
(Undo revision 51713 by Chris Kahn (Talk))
(published changes for 10.1.4)
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:APIClass|Repository Class|Repository}}  
{{Template:API}}{{Template:APIBreadcrumb}}
This class represents the name and ID of a project.
 
== Constructors ==
 
*NameIdPair {{APIComment|Creates a new class that represents a Name and ID pair.}}
<onlyinclude>Represents the name and ID pair of a project, XFRACAS entity, model resource, reliability block diagram (RBD) or fault tree.</onlyinclude>


== Methods ==
*'''[[NameIdPair.ToString|ToString]]''' {{APIComment|Overridable function that returns the Name.}}
== Properties  ==
== Properties  ==
*Name (as ''string'') {{APIComment|Gets or set the project name.}}
{| {{APITable}}
*ID (as ''integer'') {{APIComment|Gets or set the project 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