NameIdPair Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
(published changes for 10.1.4)
 
(23 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 an element (e.g., project) for the "GetAll" or "GetCurrent" methods in the [[Repository_Class|Repository]] class.
== Constructors ==
*NameIdPair( Integer, String ) {{APIComment|Creates a new NameIdPair object. This is automatically called when a "GetAll" or "GetCurrent" method is called.)}}


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


== 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