NameIdPair Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
m (Protected "NameIdPair Class" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
(published changes for 10.1.4)
 
(40 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:APIClass|NameIdPair Class|NameIdPair}}  
{{Template:API}}{{Template:APIBreadcrumb}}


Instantiate this class as a pair of Name and ID.


== Constructors ==
<onlyinclude>Represents the name and ID pair of a project, XFRACAS entity, model resource, reliability block diagram (RBD) or fault tree.</onlyinclude>
*'''[[New NameIdPair]]''' {{APIComment|Creates a new class that represents a Name and ID pair.}}<br>


== Properties  ==
== Properties  ==
*'''[[NameIdPair.Name|Name]]''' {{APIComment|Gets or set the Name.}}
{| {{APITable}}
*'''[[NameIdPair.ID|ID]]''' {{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'''.
|}


== Methods ==
 
*'''[[NameIdPair.ToString|ToString]]''' {{APIComment|Overridable function that returns the Name.}}
 
 
 
 
==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