NameIdPair Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
(published changes for 10.1.4)
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:APIClass|Repository Class|Repository}}  
{{Template:API}}{{Template:APIBreadcrumb}}
This class is used to store 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 Name.}}
{| {{APITable}}
*ID (as ''integer'') {{APIComment|Gets or set the ID.}}
|-
| 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