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
'Usage
Dim instance As OutboundCodePageDetector
Dim preferredCharset As Charset
Dim allowCommonFallbackExceptions As Boolean
Dim returnValue As Integer
returnValue = instance.GetCodePage(preferredCharset, _
allowCommonFallbackExceptions)
public int GetCodePage(
Charset preferredCharset,
bool allowCommonFallbackExceptions
)
Parameters
preferredCharset
Type: Microsoft.Exchange.Data.Globalization.CharsetThe preferred character set for representing the text added to this OutboundCodePageDetector object.
allowCommonFallbackExceptions
Type: System.BooleanSet to true to allow common fallback exception characters. Otherwise, set to false.
Return value
Type: System.Int32
See also
Reference
OutboundCodePageDetector class