WRAPPER_API void set_Item(const BmgChar *issuer, const BmgChar *code)
The set_Item method changes the value of an identifier in this IdentifierCollection. The identifier to be changed is identified by its issuer, which occupies the first argument to this method. The second argument gives the new code for the identifier. If the specified identifier does not exist, a GeoCalcException will be thrown with an ErrorCode specifying ParameterNotFound.
void IdentifierCollection_setItem(GEOCALCPBW_NAMESPACE::IdentifierCollection & idc)
{
if(idc.Exists(L"GC"))
{
idc.set_Item(L"GC", L"MyID");
}
}