Share via


MimePart constructor (String)

The MimePart constructor creates a new MimePart object and adds a Content-Type header.

Namespace:  Microsoft.Exchange.Data.Mime
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Sub New ( _
    contentType As String _
)
'Usage
Dim contentType As String

Dim instance As New MimePart(contentType)
public MimePart(
    string contentType
)

Parameters

  • contentType
    Type: System.String

    A string that represents the Content Type for this header.

See also

Reference

MimePart class

MimePart members

MimePart overload

Microsoft.Exchange.Data.Mime namespace