System.Net.Mail.AlternateViewCollection.Dispose Method

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

Syntax

public void Dispose ()

Remarks

This method invokes AlternateView.Dispose(bool) on all views in this collection. This method is called by the MailMessage.Dispose method. You do not need 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