NameIdPair Class

Used with the GetAllProjects, GetCurrentProject, GetAllModelsInfo and GetAllXfracasEntities methods in the Repository class to store the name and ID of a project, model or XFRACAS entity.

Properties

 * Name (as string)
 * ID (as integer)

Usage Example
Dim MyRepository As New Repository Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("C:\Users\Name\Documents\ReliaSoft\Files\repository.rsr9") Dim ListOfProjects As NameIdPair ListOfProjects = MyRepository.GetAllProjects Dim ProjectName As String ProjectName = ListOfProjects(0).Name