Share via


OutboundCodePageDetector.GetCodePage method (Culture, Boolean)

The GetCodePage method gets the code page that best represents the text added to this OutboundCodePageDetector object and best fits the preferred culture.

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

Syntax

'Declaration
Public Function GetCodePage ( _
    culture As Culture, _
    allowCommonFallbackExceptions As Boolean _
) As Integer
'Usage
Dim instance As OutboundCodePageDetector
Dim culture As Culture
Dim allowCommonFallbackExceptions As Boolean
Dim returnValue As Integer

returnValue = instance.GetCodePage(culture, _
    allowCommonFallbackExceptions)
public int GetCodePage(
    Culture culture,
    bool allowCommonFallbackExceptions
)

Parameters

  • allowCommonFallbackExceptions
    Type: System.Boolean

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

Return value

Type: System.Int32

See also

Reference

OutboundCodePageDetector class

OutboundCodePageDetector members

GetCodePage overload

Microsoft.Exchange.Data.Globalization namespace