remove

remove(Comment comment) method

Removes the first occurrence of the specified comment in a collection.

Parameters

NameTypeDescription
commentCommentThe comment to remove from a collection.

Returns

void

Exception

ExceptionCondition
PptxEditExceptionThrown if comment is already removed.

remove(ModernComment comment) method

Removes the first occurrence of the specified comment in a collection.

Parameters

NameTypeDescription
commentModernCommentThe comment to remove from a collection.

Returns

void

Exception

ExceptionCondition
PptxEditExceptionThrown if comment is already removed.