NameIdPair Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) |
Chris Kahn (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Template:APIClass|Repository Class|Repository}} | {{Template:APIClass|Repository Class|Repository}} | ||
Stores the name and ID of | Stores the name and ID of a project, model or XFRACAS entity. | ||
== Constructors == | == Constructors == | ||
*NameIdPair( Integer, String ) {{APIComment|Creates a new NameIdPair object. This is automatically called when | *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 when GetAllProjects, GetCurrentProject, GetAllModelsInfo or GetAllXfracasEntities is called from the [[Repository_Class|Repository]] class.)}} | ||
== Methods == | == Methods == |
Revision as of 16:16, 3 March 2014
Stores the name and ID of a project, model or XFRACAS entity.
Constructors
- NameIdPair( Integer, String ) Creates a new NameIdPair object to store the name/ID of a project, model or XFRACAS entity. This is automatically called when GetAllProjects, GetCurrentProject, GetAllModelsInfo or GetAllXfracasEntities is called from the Repository class.)
Methods
- ToString Returns the value of the Name property.
Properties
- Name (as string) Gets or set the name.
- ID (as integer) Gets or set the ID number.