Remove()

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

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

virtual void Aspose::Slides::ICommentCollection::Remove(System::SharedPtr<IComment> comment)=0

Arguments

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

Exceptions

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

See Also