NameIdPair Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) |
||
Line 2: | Line 2: | ||
Stores the name and ID of an element (e.g., project) for the "GetAll" or "GetCurrent" methods in the [[Repository_Class|Repository]] class. | Stores the name and ID of an element (e.g., project) for the "GetAll" or "GetCurrent" methods in the [[Repository_Class|Repository]] class. | ||
== Constructors == | == Constructors == | ||
*NameIdPair( Integer, String ) {{APIComment|Creates a new NameIdPair object. This is automatically | *NameIdPair( Integer, String ) {{APIComment|Creates a new NameIdPair object. This is automatically called when a "GetAll" or "GetCurrent" method is called.)}} | ||
== Methods == | == Methods == |
Revision as of 16:12, 3 March 2014
Stores the name and ID of an element (e.g., project) for the "GetAll" or "GetCurrent" methods in the Repository class.
Constructors
- NameIdPair( Integer, String ) Creates a new NameIdPair object. This is automatically called when a "GetAll" or "GetCurrent" method is called.)
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.