remove

remove(Portion item) function

Removes the first occurrence of a specific object from the IGenericCollection.

Parameters

NameTypeDescription
itemPortionThe object to remove from the IGenericCollection.

Result

boolean

Error

ErrorCondition
com.aspose.ms.System.NotSupportedExceptionThe IGenericCollection is read-only.

remove(MathPortion item) function

Removes the first occurrence of a specific object from the IGenericCollection.

Parameters

NameTypeDescription
itemMathPortionThe object to remove from the IGenericCollection.

Result

boolean

Error

ErrorCondition
com.aspose.ms.System.NotSupportedExceptionThe IGenericCollection is read-only.