NameIdPair Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


== Methods ==
== Methods ==
*[[NameIdPair.ToString|ToString]] {{APIComment|Returns the value of the Name property.}}
*ToString {{APIComment|Returns the value of the Name property.}}


== Properties  ==
== Properties  ==
*Name (as ''string'') {{APIComment|Gets or set the name.}}
*Name (as ''string'') {{APIComment|Gets or set the name.}}
*ID (as ''integer'') {{APIComment|Gets or set the ID number.}}
*ID (as ''integer'') {{APIComment|Gets or set the ID number.}}

Revision as of 16:24, 3 March 2014


Stores the name and ID of a project, model or XFRACAS entity.

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 applicable methods in the Repository class.)

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.