MailBee.NET Objects 7.1

ElementCollection.Remove Method 

Removes the specified Element object from the collection.

public bool Remove(
   Element elem
);

Parameters

elem
The Element object to be removed from the collection.

Return Value

true if the specified Element was found and removed; otherwise, false.

Exceptions

Exception Type Condition
MailBeeInvalidArgumentException elem is a null reference (Nothing in Visual Basic).

See Also

ElementCollection Class | MailBee.Html Namespace | RemoveAt | RemoveByName