Documentation

Delete

bool
CSaleOrderProps::Delete(
  int ID
);

The method Delete deletes a specified property. Currently existing values of this property are unbound from the deleted property. All dependencies currently existing in a customer profile are removed as well.

Parameters

ParameterDescription
ID The ID of the property to be deleted.

Returned values

Returns true on success or false otherwise.

Example


<?
if (!CSaleOrderProps::Delete(12))
   echo "error deleting property";
?>
© «Bitrix24», 2001-2024