다음을 통해 공유


OutboundCodePageDetector.GetCodePage Method (Charset, Boolean)

The GetCodePage method takes the preferred character set into account and gets the code page that can best represent the text added to this OutboundCodePageDetector object.

Namespace: Microsoft.Exchange.Data.Globalization
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public Function GetCodePage ( _
    preferredCharset As Charset, _
    allowCommonFallbackExceptions As Boolean _
) As Integer
public int GetCodePage (
    Charset preferredCharset,
    bool allowCommonFallbackExceptions
)
public:
int GetCodePage (
    Charset^ preferredCharset, 
    bool allowCommonFallbackExceptions
)
public int GetCodePage (
    Charset preferredCharset, 
    boolean allowCommonFallbackExceptions
)
public function GetCodePage (
    preferredCharset : Charset, 
    allowCommonFallbackExceptions : boolean
) : int

Parameters

  • allowCommonFallbackExceptions
    Set to true to allow common fallback exception characters. Otherwise, set to false.

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