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 | LeagueID ([out, retval] long *pVal) |
Get the LeagueID property of this object as a long. More... | |
HRESULT | getLeague ([out, retval] ILeague **ppILeague) |
Get the ILeague which owns this division. More... | |
HRESULT | getNumOfTeams ([out, retval] long *plNum) |
Get the number of ITeam's in the division. More... | |
HRESULT | getTeams ([out, retval] ITeamCollection **ppICollection) |
Get a collection of all the ITeam's in the division. More... |
Use the IDivision object to get it's teams and the league it belongs to. Do not create this object directly, instead use the getDivision or getDivisions methods from the IProject, ILeague, or ITeam objects.
Program ID: TSSSX.Division
Example:
var eDivisions = new Enumerator(league.getDivisions()); for (; !eDivisions.atEnd(); eDivisions.moveNext()) { oDivision = eDivisions.item(); // do something with the IDivision object Response.Write("The division: '" + oDivision.Name + "' has: " + oDivision.getNumOfTeams() + " teams"; }
|
Get the Comment property of this object as a String. Example: var sComment = obj.Comment; |
|
Get the ID property of this object as a long. Example: var iID = obj.ID; |
|
Get the LeagueID property of this object as a long.
var league = Project.getLeague(schedule.LeagueID); if (league != null) { // do something with the league } |
|
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 the ILeague which owns this division.
var league = division.getLeague(); if (league != null) { // do something with the league }
|
|
Get the number of ITeam's in the division.
var iNum = division.getNumOfTeams(); |
|
Get a collection of all the ITeam's in the division.
var obj; var eItems = new Enumerator(division.getTeams()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
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