Galactix Home | Main Page | Class Hierarchy | Data Structures | Function List
#include <tsssx.idl>
Inherits IDispatch.
Public Methods | |
HRESULT | ToString ([out, retval] BSTR *pVal) |
Get a String representation of this object. More... | |
HRESULT | Name ([out, retval] BSTR *pVal) |
Get the Name property of this object as a String. More... | |
HRESULT | ID ([out, retval] long *pVal) |
Get the ID property of this object as a long. More... | |
HRESULT | Comment ([out, retval] BSTR *pVal) |
Get the Comment property of this object as a String. More... | |
HRESULT | Description ([out, retval] BSTR *pVal) |
Get the Description property of this object as a String. More... | |
HRESULT | ImagePathname ([out, retval] BSTR *pVal) |
Get the ImagePathname property of this object as a String. More... | |
HRESULT | LogoPathname ([out, retval] BSTR *pVal) |
Get the LogoPathname property of this object as a String. More... | |
HRESULT | LeagueID ([out, retval] long *pVal) |
Get the LeagueID property of this object as a long. More... | |
HRESULT | DivisionID ([out, retval] long *pVal) |
Get the DivisionID property of this object as a long. More... | |
HRESULT | Availability ([out, retval] IAvailability **pVal) |
Get the IAvailabiity object associated with this object. More... | |
HRESULT | getLeague ([out, retval] ILeague **ppILeague) |
Get the ILeague which owns this team. More... | |
HRESULT | getDivision ([out, retval] IDivision **ppIDivision) |
Get the IDivision which owns this team. More... | |
HRESULT | getNumOfSeasonSchedules ([out, retval] long *plNum) |
Get the number of ISeasonSchedule's for the team. More... | |
HRESULT | getNumOfPracticeSchedules ([out, retval] long *plNum) |
Get the number of IPracticeSchedule's for the team. More... | |
HRESULT | getNumOfSeasonVenues ([out, retval] long *plNum) |
Get the number of venues available for season games. More... | |
HRESULT | getNumOfPracticeVenues ([out, retval] long *plNum) |
Get the number of venues available for practice games. More... | |
HRESULT | getNumOfTournamentVenues ([out, retval] long *plNum) |
Get the number of venues available for tournament games. More... | |
HRESULT | getNumOfContacts ([out, retval] long *plNum) |
Get the number of IContact's for the team. More... | |
HRESULT | getNumOfSponsors ([out, retval] long *plNum) |
Get the number of ISponsor's for the team. More... | |
HRESULT | getSeasonVenuePriority ([in] long lVenueID,[out, retval] long *plPriority) |
Get the priority value for the specified season venue. More... | |
HRESULT | getPracticeVenuePriority ([in] long lVenueID,[out, retval] long *plPriority) |
Get the priority value for the specified practice venue. More... | |
HRESULT | getTournamentVenuePriority ([in] long lVenueID,[out, retval] long *plPriority) |
Get the priority value for the specified tournament venue. More... | |
HRESULT | getSeasonSchedules ([out, retval] ISeasonScheduleCollection **pplCollection) |
Get a collection of all the ISeaonsSchedule's for the team. More... | |
HRESULT | getPracticeSchedules ([out, retval] IPracticeScheduleCollection **pplCollection) |
Get a collection of all the IPracticeSchedule's for the team. More... | |
HRESULT | getContacts ([out, retval] IContactCollection **pplCollection) |
Get a collection of all the IContact's for the team. More... | |
HRESULT | getSponsors ([out, retval] ISponsorCollection **pplCollection) |
Get a collection of all the ISponsor's for the team. More... | |
HRESULT | getSeasonVenues ([out, retval] IVenueCollection **pplCollection) |
Get the collection of season IVenue's for this object. More... | |
HRESULT | getPracticeVenues ([out, retval] IVenueCollection **pplCollection) |
Get the collection of practice IVenue's for this object. More... | |
HRESULT | getTournamentVenues ([out, retval] IVenueCollection **pplCollection) |
Get the collection of tournament IVenue's for this object. More... |
Use the ITeam object to access the team's contacts, schedules, and other information. Do not create this object directly, instead use a getTeam or getTeams method from the IProject, ILeague, IDivision, IGame, IMasterSchedule, ISeasonSchedule, IPracticeSchedule, or ITournamentSchedule object.
Program ID: TSSSX.Team
Example:
var eTeams = new Enumerator(league.getTeams()); for (; !eTeams.atEnd(); eTeams.moveNext()) { oTeam = eTeams.item(); // do something with the ITeam object Response.Write("The team: '" + oTeam.Name + "' is in the division: '" + oTeam.getDivision().Name + "'"; }
|
Get the IAvailabiity object associated with this object. Example: if (obj.Availability.AlwaysAvailable) { Response.WriteLine("The object " + obj.Name + " is always available for game play."); } |
|
Get the Comment property of this object as a String. Example: var sComment = obj.Comment; |
|
Get the Description property of this object as a String. Example: var sText = "The description is: '" + obj.Description + "'"; |
|
Get the DivisionID property of this object as a long.
var division = Project.getDivision(team.DivisionID); if (division != null) { // do something with the division } |
|
Get the ID property of this object as a long. Example: var iID = obj.ID; |
|
Get the ImagePathname property of this object as a String. If specified, the ImagePathname is the filename of the image associated with this object. This may not point to the actual file on the hard drive. For example, during the website generation all the images are copied to the ProjectName-Web\images folder. The example below would point to the website generated image file. Example: var sImg = ""; if (obj.ImagePathname != "") sImg = "<img src=\"images/\" + obj.ImagePathname + "\">"; |
|
Get the LeagueID property of this object as a long.
var league = Project.getLeague(team.LeagueID); if (league != null) { // do something with the league } |
|
Get the LogoPathname property of this object as a String. If specified, the LogoPathname is the filename of the logo image associated with this object. This may not point to the actual file on the hard drive. For example, during the website generation all the images are copied to the ProjectName-Web\images folder. The example below would point to the website generated image file. Example: var sImg = ""; if (obj.ImagePathname != "") sImg = "<img src=\"images/\" + obj.LogoPathname + "\">"; |
|
Get the Name property of this object as a String. Example: var sName = obj.Name; |
|
Get a String representation of this object. Example: var sImplicit = "The object '" + obj + "' ToString property was called implicitly."; var sDirect = "The object '" + obj.ToString + "' ToString property was called directly."; |
|
Get a collection of all the IContact's for the team.
var obj; var eItems = new Enumerator(team.getContacts()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get the IDivision which owns this team.
var league = team.getDivision(); if (league != null) { // do something with the league }
|
|
Get the ILeague which owns this team.
var league = team.getLeague(); if (league != null) { // do something with the league }
|
|
Get the number of IContact's for the team.
var iNum = team.getNumOfContacts(); |
|
Get the number of IPracticeSchedule's for the team.
var iNum = team.getNumOfPracticeSchedules(); |
|
Get the number of venues available for practice games.
Response.WriteLine("Fields available for practice games: " + obj.getNumOfPracticeVenues() ); |
|
Get the number of ISeasonSchedule's for the team.
var iNum = team.getNumOfSeasonSchedules(); |
|
Get the number of venues available for season games.
Response.WriteLine("Season fields available for '" + obj.Name + "' games: " + obj.getNumOfSeasonVenues() ); |
|
Get the number of ISponsor's for the team.
var iNum = team.getNumOfSponsors(); |
|
Get the number of venues available for tournament games.
Response.WriteLine("Fields available for tournament games: " + obj.getNumOfTournamentVenues() ); |
|
Get a collection of all the IPracticeSchedule's for the team.
var obj; var eItems = new Enumerator(team.getPracticeSchedules()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get the priority value for the specified practice venue.
if (team.getPracticeVenuePriority(venue.ID) == 9) { Response.WriteLine("The venue '" + venue.Name + "' will not be considered for scheduling."); } |
|
Get the collection of practice IVenue's for this object.
var eVenues = new Enumerator(team.getPracticeVenues()); for (; !eVenues.atEnd(); eVenues.moveNext()) { oVenue = eVenues.item(); // do something with the IVenue }
|
|
Get a collection of all the ISeaonsSchedule's for the team.
var obj; var eItems = new Enumerator(team.getSeaonsSchedules()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get the priority value for the specified season venue.
if (team.getSeasonVenuePriority(venue.ID) == 9) { Response.WriteLine("The venue '" + venue.Name + "' will not be considered for scheduling."); } |
|
Get the collection of season IVenue's for this object.
var eVenues = new Enumerator(team.getSeasonVenues()); for (; !eVenues.atEnd(); eVenues.moveNext()) { oVenue = eVenues.item(); // do something with the IVenue }
|
|
Get a collection of all the ISponsor's for the team.
var obj; var eItems = new Enumerator(team.getSponsors()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get the priority value for the specified tournament venue.
if (team.getPracticeVenuePriority(venue.ID) == 9) { Response.WriteLine("The venue '" + venue.Name + "' will not be considered for scheduling."); } |
|
Get the collection of tournament IVenue's for this object.
var eVenues = new Enumerator(team.getTournamentVenues()); for (; !eVenues.atEnd(); eVenues.moveNext()) { oVenue = eVenues.item(); // do something with the IVenue }
|
Galactix Home | Main Page | Class Hierarchy | Data Structures | Function List
Copyright © 1996-2007, Galactix Software. All rights reserved.
Questions? Comments? Send email to support@galactix.com