WRAPPER_API bool Remove(const BmgChar *name)
The Remove method removes a the parameter with the specified name from the ParameterCollection. If the specified name does not correspond to parameter in this ParameterCollection, a GeoCalcException will be thrown with an ErrorCode indicating ParameterNotFound.
void ParameterCollection_Remove(GEOCALCPBW_NAMESPACE::ParameterCollection & pc, BmgChar * parName)
{
if(pc.Exists(parName))
{
if(! pc.Remove(parName))
{
AfxMessageBox("Remove failed");
}
}
}