NameIdPair Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) (Undo revision 51713 by Chris Kahn (Talk)) |
Chris Kahn (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
This class represents the name and ID of a project. | This class represents the name and ID of a project. | ||
== Constructors == | == Constructors == | ||
*NameIdPair {{APIComment| | *NameIdPair( Integer, String ) {{APIComment|Represents an element (e.g., project, model) with the specified numerical ID and name. (Automatically called via the "GetAll" and "GetCurrent" methods in the Repository class.)}} | ||
== Methods == | == Methods == |
Revision as of 15:33, 3 March 2014
This class represents the name and ID of a project.
Constructors
- NameIdPair( Integer, String ) Represents an element (e.g., project, model) with the specified numerical ID and name. (Automatically called via the "GetAll" and "GetCurrent" methods in the Repository class.)
Methods
- ToString Overridable function that returns the Name.
Properties
- Name (as string) Gets or set the project name.
- ID (as integer) Gets or set the project ID number.