NameIdPair Class

From ReliaWiki
Revision as of 22:06, 10 March 2014 by Chris Kahn (talk | contribs)
Jump to navigation Jump to search


Used with the GetAllProjects, GetCurrentProject, GetAllModelsInfo and GetAllXfracasEntities in the Repository class to store the name and ID of an element.

Constructors

  • NameIdPair( Integer, String ) Creates a new NameIdPair object to store the name/ID of a project, model or XFRACAS entity. This is automatically called by the applicable methods in the Repository class.

Methods

  • ToString Returns the value of the Name property.

Properties

  • Name (as string) Gets or sets the name.
  • ID (as integer) Gets or sets the ID number.