Remove

ParagraphCollection.Remove method

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

public bool Remove(IParagraph item)
ParameterTypeDescription
itemIParagraphThe object to remove from the ICollection.

Return Value

true if item was successfully removed from the ICollection; otherwise, false. This method also returns false if item is not found in the original ICollection.

Exceptions

exceptioncondition
NotSupportedExceptionThe ICollection is read-only.

See Also