remove

remove(Comment comment) function

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

Parameters

NameTypeDescription
commentCommentThe comment to remove from a collection.

Error

ErrorCondition
PptxEditExceptionThrown if comment is already removed.

remove(ModernComment comment) function

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

Parameters

NameTypeDescription
commentModernCommentThe comment to remove from a collection.

Error

ErrorCondition
PptxEditExceptionThrown if comment is already removed.