Share via


OutboundCodePageDetector.GetCodePages method (Charset, Boolean)

The GetCodePages method gets a list of code pages that will encode the text added to this OutboundCodePageDetector object, ordered from best to worst, subject to the preference indicated by the preferredCharset parameter..

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

Syntax

'Declaration
Public Function GetCodePages ( _
    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.GetCodePages(preferredCharset, _
    allowCommonFallbackExceptions)
public int[] GetCodePages(
    Charset preferredCharset,
    bool allowCommonFallbackExceptions
)

Parameters

  • allowCommonFallbackExceptions
    Type: System.Boolean

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

Return value

Type: []

See also

Reference

OutboundCodePageDetector class

OutboundCodePageDetector members

GetCodePages overload

Microsoft.Exchange.Data.Globalization namespace