Compartilhar 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 _
)
public MimePart (
    string contentType
)
public:
MimePart (
    String^ contentType
)
public MimePart (
    String contentType
)
public function MimePart (
    contentType : String
)

Parameters

  • contentType
    A string that represents the Content Type for this header.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003