DeletePattern Method



 
The DeletePattern method deletes an URL pattern from the Patterns collection.


Syntax

    SiteCashZone.DeletePattern(str)
    
Parameters
    str String that contains the pattern to delete.
Return Value
    None.
Remarks
    None.
Examples
    The following example deletes an URL pattern from the Patterns collection of the first existing zone.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Plugins("SiteCash").Zones.Item(1).AddPattern("newPattern");
    SiteKiosk.Plugins("SiteCash").Zones.Item(1).DeletePattern("newPattern");
    </SCRIPT>
    

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

Back to top