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
- culture
Type: Microsoft.Exchange.Data.Globalization.Culture
The preferred culture from which to choose a character set to represent the text added to this OutboundCodePageDetector object.
- allowCommonFallbackExceptions
Type: System.Boolean
Set to true to allow common fallback exception characters. Otherwise, set to false.
Return Value
Type: System.Int32