Partager via


TnefWriter.SetMessageCodePage Method

The SetMessageCodePage method sets the code page used to write to the TNEF stream that this TnefWriter object owns.

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

Syntax

'Declaration
Public Sub SetMessageCodePage ( _
    messageCodePage As Integer _
)
'Usage
Dim instance As TnefWriter
Dim messageCodePage As Integer

instance.SetMessageCodePage(messageCodePage)
public void SetMessageCodePage(
    int messageCodePage
)

Parameters

  • messageCodePage
    Type: System.Int32
    An integer representing the code page to use when writing.