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 _
)
public void SetMessageCodePage (
    int messageCodePage
)
public:
void SetMessageCodePage (
    int messageCodePage
)
public void SetMessageCodePage (
    int messageCodePage
)
public function SetMessageCodePage (
    messageCodePage : int
)

Parameters

  • messageCodePage
    An integer representing the code page to use when writing.

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.

Platforms

Development Platforms

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

Target Platforms

Windows Server 2003