int CCFXStringSet::AddString(LPCSTR lpszString)
Adds a string to the end of the list.
The index of the string that was added.
Parameter | Description |
---|---|
lpszString |
String to add to the list |
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" ) ;