System.Net.Mail.AttachmentCollection.Dispose Method

Releases all resources used by the System.Net.Mail.AttachmentCollection.

Syntax

public void Dispose ()

Remarks

This method is called by the MailMessage.Dispose method. You do not have to call it in your application.

Requirements

Namespace: System.Net.Mail
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0