Share via


OutboundCodePageDetector.GetCodePages method (Culture, Boolean)

The GetCodePages method returns 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 culture parameter.

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

Syntax

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

See also

Reference

OutboundCodePageDetector class

OutboundCodePageDetector members

GetCodePages overload

Microsoft.Exchange.Data.Globalization namespace