Clears all existing items from the list, which creates an empty list.
HRESULT retVal = object.clear();
This method has no parameters.
This method can return one of these values.
IE9 mode only.
An attempt is made to modify an object that cannot be changed.
An attempt is made to modify an object that cannot be changed. For versions earlier than Internet Explorer 10, NO_MODIFICATION_ALLOWED_ERR is returned.