Remove()

CommentCollection::Remove(System::SharedPtr<IComment>) method

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

void Aspose::Slides::CommentCollection::Remove(System::SharedPtr<IComment> comment) override

Arguments

ParameterTypeDescription
commentSystem::SharedPtr<IComment>The comment to remove from a collection.

Exceptions

ExceptionDescription
System::ArgumentNullExceptionIf comment is null
PptxEditExceptionThrown if comment is already removed.

See Also