NameIdPair Class

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


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.