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. \e. 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... |
The ITSSSOb object can represent any type of data object in the project (i.e. ILeague, ITeam, IVenue, IOfficial, etc). The ITSSSOb is only returned in a ITSSSObCollection. The IContact::getAssociations() method is an example. To find out what type of object this ITSSSOb represents, use the IProject::getObjectType() method. Do not create this object directly.
Program ID: TSSSX.TSSSOb
Example:
Response.Write("The contact " + contact.Name + " is associated with "); var eAssociates = new Enumerator(contact.getAssociations()); for (; !eAssociates.atEnd(); eAssociates.moveNext()) { var oObj = eAssociates.item(); switch ( Project.getObjectType(oObj.ID) ) { case 1: // ILeague Response.Write(" the league " + oObj.Name); break; case 2: // ITeam Response.Write(" the team " + oObj.Name); break; case 3: // IVenue Response.Write(" the field " + oObj.Name); break; case 4: // IOfficial Response.Write(" the official " + oObj.Name); break; } }
|
Get the ID property of this object as a long. Example: var iID = obj.ID; |
|
Get the Name property of this object as a String. Example: var sName = obj.Name; |
|
Get a String representation of this object. \e. Example: var sImplicit = "The object '" + obj + "' ToString property was called implicitly."; var sDirect = "The object '" + obj.ToString + "' ToString property was called directly."; |
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