Item Method



 
The Item method returns one item of the collection.


Syntax

    [str=] SiteKiosk.Network.InternetAddresses.Item(index)
    
Parameters
    index Long value that contains the item number to return.
Return Value
    Returns a String containing the address.
Remarks
    Collection-index values are 1-based.
Examples
    The following example shows all IP addresses.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    var IntAddr = SiteKiosk.Network.InternetAddresses;
    var lk_Enum = new Enumerator(IntAddr);
    for (; !lk_Enum.atEnd(); lk_Enum.moveNext(1))
    {
     var lk_CurAddr = lk_Enum.item();
     document.write(lk_CurAddr + "
    "); } </SCRIPT>

Applies to
    SiteKiosk v5.0 (and later versions).

Back to top