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 | Title ([out, retval] BSTR *pVal) |
Get the Title property of this object as a String. More... | |
HRESULT | Street ([out, retval] BSTR *pVal) |
Get the Street property of this object as a String. More... | |
HRESULT | City ([out, retval] BSTR *pVal) |
Get the City property of this object as a String. More... | |
HRESULT | State ([out, retval] BSTR *pVal) |
Get the State property of this object as a String. More... | |
HRESULT | Zip ([out, retval] BSTR *pVal) |
Get the Zip property of this object as a String. More... | |
HRESULT | Country ([out, retval] BSTR *pVal) |
Get the Country property of this object as a String. More... | |
HRESULT | EmailAddress ([out, retval] BSTR *pVal) |
Get the EmailAddress property of this object as a String. More... | |
HRESULT | WebAddress ([out, retval] BSTR *pVal) |
Get the WebAddress property of this object as a String. More... | |
HRESULT | DayPhone ([out, retval] BSTR *pVal) |
Get the DayPhone property of this object as a String. More... | |
HRESULT | FAX ([out, retval] BSTR *pVal) |
Get the FAX property of this object as a String. More... | |
HRESULT | EveningPhone ([out, retval] BSTR *pVal) |
Get the EveningPhone 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... |
The ISponsor object contains the name, address, phone, fax, email, web site, and other contact information for a sponsor associated with a place or thing. The following objects have sponsors: ILeague, ITeam, IVenue and IOfficial. You can get a list of all the sponsors in the project by using the IProject's getSponsors() method, or you can use the other object's getSponsors() method to get the associated sponsors. Do not create this object directly, instead use one of the above mentioned methods.
Program ID: TSSSX.Sponsor
Example:
Response.WriteLine("Here is a list of the sponsors for the league '" + league.Name + "'"); var eSponsors = new Enumerator(league.getSponsors()); for (; !eContacts.atEnd(); eContacts.moveNext()) { oSponsor = eSponsors.item(); // do something with the ISponsor object Response.WriteLine("Support '" + oSponsor.Name + "', visit them at " + oSponsor.WebAddress); }
|
Get the City property of this object as a String. Example: var sText = obj.City; |
|
Get the Comment property of this object as a String. Example: var sComment = obj.Comment; |
|
Get the Country property of this object as a String. Example: var sText = obj.Country; |
|
Get the DayPhone property of this object as a String. Example: var sText = obj.DayPhone; |
|
Get the EmailAddress property of this object as a String. Example: var sLink = ""; if (obj.EmailAddress != "") { sLink = "<a href=\""mailto:" + obj.EmailAddress + "\">" + obj.EmailAddress + "</a>"; } |
|
Get the EveningPhone property of this object as a String. Example: var sText = obj.EveningPhone; |
|
Get the FAX property of this object as a String. Example: var sText = obj.FAX; |
|
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 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 the State property of this object as a String. Example: var sText = obj.State; |
|
Get the Street property of this object as a String. Example: var sText = obj.Street; |
|
Get the Title property of this object as a String. Example: var sTitle = obj.Title; |
|
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 WebAddress property of this object as a String. Example: var sLink = ""; if (obj.WebAddress != "") { sLink = "<a href=\"" + obj.WebAddress + "\">" + obj.WebAddress + "</a>"; } |
|
Get the Zip property of this object as a String. Example: var sText = obj.Zip; |
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