.NET Framework Class Library AlternateViewCollection Class

Inheritance Hierarchy
Namespace:
System.Net.Mail
Assembly:
System (in System.dll)

Syntax
Public NotInheritable Class AlternateViewCollection _
Inherits Collection(Of AlternateView) _
Implements IDisposable
public sealed class AlternateViewCollection : Collection<AlternateView>,
IDisposable
public ref class AlternateViewCollection sealed : public Collection<AlternateView^>,
IDisposable
[<Sealed>]
type AlternateViewCollection =
class
inherit Collection<AlternateView>
interface IDisposable
end
The AlternateViewCollection type exposes the following members.

Properties

Methods

Explicit Interface Implementations

Remarks
Use the AlternateView class to specify copies of an e-mail message in different formats. For example, if you send a message in HTML, you might also want provide a plain text version in case some of the recipients use e-mail readers that cannot display HTML content.

Version Information
.NET FrameworkSupported in: 4, 3.5, 3.0, 2.0 .NET Framework Client ProfileSupported in: 4, 3.5 SP1

Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also
|
Biblioteca de clases de .NET Framework AlternateViewCollection (Clase)

Jerarquía de herencia
Espacio de nombres:
System.Net.Mail
Ensamblado:
System (en System.dll)

Sintaxis
Public NotInheritable Class AlternateViewCollection _
Inherits Collection(Of AlternateView) _
Implements IDisposable
public sealed class AlternateViewCollection : Collection<AlternateView>,
IDisposable
public ref class AlternateViewCollection sealed : public Collection<AlternateView^>,
IDisposable
[<Sealed>]
type AlternateViewCollection =
class
inherit Collection<AlternateView>
interface IDisposable
end
El tipo AlternateViewCollection expone los siguientes miembros.

Propiedades

Métodos

Implementaciones explícitas de interfaces

Comentarios
Utilice la clase AlternateView para especificar copias de un mensaje de correo electrónico en distintos formatos. Por ejemplo, si envía un mensaje en formato HTML, puede que también desee enviar una versión de texto sin formato en caso de que algunos de los destinatarios usen lectores de correo electrónico que no puedan mostrar contenido HTML.

Información de versión
.NET FrameworkCompatible con: 4, 3.5, 3.0, 2.0 .NET Framework Client ProfileCompatible con: 4, 3.5 SP1

Plataformas
Windows 7, Windows Vista SP1 o posterior, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (no se admite Server Core), Windows Server 2008 R2 (se admite Server Core con SP1 o posterior), Windows Server 2003 SP2
.NET Framework no admite todas las versiones de todas las plataformas. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.

Seguridad para subprocesos
Todos los miembros static ( Shared en Visual Basic) públicos de este tipo son seguros para la ejecución de subprocesos. No se garantiza que los miembros de instancias sean seguros para la ejecución de subprocesos.

Vea también
|