Home > Contents > Index > 
Expanded TOC | Accordion TOC | Annotated TOC | Index 
ICS.SetCounter
Creates a counter, or changes the value of an existing counter.
Syntax
public void SetCounter(String counter, int value) throws ExceptionParameters
counter- Counter name to set.
 
value- The value to set the counter to.
 
Throws
Exception if failure.
Example
The following example creates a counter:
try{ics.SetCounter("newCounter", 1);}catch(Exception e){//handle exception}See Also
Home > Contents > Index > ![]()
FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.