NameIdPair Class

From ReliaWiki
Revision as of 15:38, 3 March 2014 by Chris Kahn (talk | contribs)
Jump to navigation Jump to search


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 done 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.