CCFXStringSet::AddString  
 
 
int CCFXStringSet::AddString(LPCSTR lpszString)

Adds a string to the end of the list. Returns the index of the string that was added.

lpszString

String to add to the list.

 
 
  Example  
 

The following example demonstrates adding three strings to a string set and saving the indexes of the items that are added:

CCFXStringSet* pSet = pRequest->CreateStringSet() ;
int iRed = pSet->AddString( "Red" ) ;
int iGreen = pSet->AddString( "Green" ) ;
int iBlue = pSet->AddString( "Blue" ) ;


 
 
BackUp LevelNext
 
 

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