CCFXRequest::CreateStringSet  
 
 
CCFXStringSet* CCFXRequest::CreateStringSet(void)

Allocates and returns a new CCFXStringSet instance. Note that string sets should always be created using this function as opposed to directly using the 'new' operator.

Returns an object of class CCFXStringSet. You are not responsible for freeing the memory allocated for the returned string set (it will be automatically freed by ColdFusion after the request is completed).

 
 
  Example  
 

The following example creates a string set and adds 3 strings to it:

CCFXStringSet* pColors = pRequest->CreateStringSet() ;
pColors->AddString( "Red" ) ;
pColors->AddString( "Green" ) ;
pColors->AddString( "Blue" ) ;


 
 
BackUp LevelNext
 
 

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