/// <summary> Adds a new index object to this map information object and returns it </summary> /// <param name="IndexID"> Primary key for this map index </param> /// <param name="Title"> Title of this map index </param> /// <param name="Image_File"> Name of the image file for this map index </param> /// <param name="HTML_File"> Name of the html map file related to the image file </param> /// <param name="Type"> Type of index </param> /// <returns> Built map index object added to this map object </returns> public Map_Index New_Index(long IndexID, string Title, string Image_File, string HTML_File, string Type) { Map_Index returnValue = new Map_Index(IndexID, Title, Image_File, HTML_File, Type); indexCollection.Add(returnValue); return returnValue; }
/// <summary> Adds a new blank index object to this map information object and returns it </summary> /// <returns> Empty map index object added to this map object </returns> public Map_Index New_Index() { Map_Index returnValue = new Map_Index(); indexCollection.Add(returnValue); return returnValue; }