Item Method



 
The Item method returns one item of the collection.


Syntax

    [obj=] CodesCol.Item(index)
    
Parameters
    index Long value that contains the item number to return.
Return Value
    Returns a Code object representing the specified code.
Remarks
    Collection-index values are 1-based.
Examples
    The following example displays the name of the first code.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    codes = SiteCafe.Server.Codes.GetCodes(1, 10);
    alert(codes.Item(1).Name);
    </SCRIPT>
    

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

Back to top