Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

IStringList::get_Count

The IStringList::get_Count method retrieves the number of items in a string list.

HRESULT get_Count(

INT * cStrRet

);

Parameters: IStringList::get_Count

cStrRet

Points to an integer that receives the number of items.

Remarks: IStringList::get_Count

The Form, QueryString, and ServerVariables collections return parameter values as an array. If the collection does not contain multiple values, the cStrRet will contain 1; if the parameter is not found, it will contain 0.

You can use this method to determine the number of items in the array. For example, if a Form included an Items ordered parameter, you could use the get_Count method to determine the number of items that had been ordered in the Form.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.