CCFXStringSet::GetString  
 
 
LPCSTR CCFXStringSet::GetString(int iIndex)

Retrieves the string located at the passed index (note that index values are 1-based).

Returns the string located at the passed index.

iIndex

Index of string to retrieve.

 
 
  Example  
 

The following example demonstrates using GetString along with GetCount to iterate over a string set and write the contents of the list back to the user:

int nNumItems = pStringSet->GetCount() ;
for ( int i=1; i<=nNumItems; i++ )
{
        pRequest->Write( pStringSet->GetString( i ) ) ;
        pRequest->Write( "<BR>" ) ;
}



 
 
BackUp LevelNext
 
 

allaire     AllaireDoc@allaire.com
    Copyright © 1998, Allaire Corporation. All rights reserved.