AttachmentBase.ContentType Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the content type of this attachment.

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

public ContentType ContentType { get; set; }

Property Value

Type: System.Net.Mime.ContentType

A ContentType.

The content type for this attachment.

.NET Framework
Available since 2.0
Return to top