NameIdPair Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:
*'''[[NameIdPair.ToString|ToString]]''' {{APIComment|Overridable function that returns the Name.}}
*'''[[NameIdPair.ToString|ToString]]''' {{APIComment|Overridable function that returns the Name.}}
== Properties  ==
== Properties  ==
*Name (as ''string'') {{APIComment|Gets or set the project name.}}
*Name (as ''string'') {{APIComment|Gets or set the name.}}
*ID (as ''integer'') {{APIComment|Gets or set the project ID number.}}
*ID (as ''integer'') {{APIComment|Gets or set the ID number.}}

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 name.
  • ID (as integer) Gets or set the ID number.