NameIdPair Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
== Constructors ==
== Constructors ==
*NameIdPair( Integer, String ) {{APIComment|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|Repository]] class.}}
*NameIdPair( Integer, String ) {{APIComment|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|Repository]] class.}}
== Methods ==
*ToString {{APIComment|Returns the value of the Name property.}}


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

Revision as of 23:46, 11 April 2014


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.

Properties

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