Item Method



 
The Item method returns one item of the collection.


Syntax

    [obj=] SiteKiosk.Logfile.LastMessages.Item(index)
    
Parameters
    index Long value that contains the item number to return.
Return Value
    Returns an LogMessage object that provides information about the logfile message.
Remarks
    Collection-index values are 1-based.
Examples
    The following example shows the text of the first logfile entry.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Logfile.LastMessages.Item(1).Text);
    </SCRIPT>
    

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

Back to top