Item Method



 
The Item method returns one item of the collection.


Syntax

    [obj=] ComputerStatsCol.Item(index)
    
Parameters
    index Long value that contains the item number to return.
Return Value
    Returns a ComputerStat object representing the specified computer statistics.
Remarks
    Collection-index values are 1-based.
Examples
    The following example displays the first computer's connection time of the first statistics.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    cStats = SiteCafe.Server.ComputerStats.GetComputerStats(1, 0, 0, 1, 10);
    alert(cStats.Item(1).ConnectTime);
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top