Share via


OutboundCodePageDetector members

The OutboundCodePageDetector class detects the best code page to use for encoding specified text.

The OutboundCodePageDetector type exposes the following members.

Constructors

  Name Description
Public method OutboundCodePageDetector The OutboundCodePageDetector constructor creates a new OutboundCodePageDetector object.

Top

Methods

  Name Description
Public method AddText(Char) The AddText method adds a character to this OutboundCodePageDetector object.
Public method AddText([]) The AddText method adds text from a character array to this OutboundCodePageDetector object.
Public method AddText(TextReader) The AddText method adds text from a TextReader to this OutboundCodePageDetector object.
Public method AddText(String) The AddText method adds text from a string to this OutboundCodePageDetector object.
Public method AddText(TextReader, Int32) The AddText method adds a specified amount of text from a TextReader to this OutboundCodePageDetector object.
Public method AddText([], Int32, Int32) The AddText method adds text from a character array to this OutboundCodePageDetector object.
Public method AddText(String, Int32, Int32) The AddText method adds text from a String to this OutboundCodePageDetector object.
Public method GetBestWindowsCodePage The GetBestWindowsCodePage method gets the Windows code page that is able to represent the most text added to this OutboundCodePageDetector object.
Public method GetCodePage() The GetCodePage method gets the code page that best represents the text added to this OutboundCodePageDetector object.
Public method GetCodePage(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.
Public method GetCodePage(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.
Public method GetCodePageCoverage The GetCodePageCoverage method returns an integer that indicates the percentage of the text added to this OutboundCodePageDetector object that the specified code page can represent.
Public method GetCodePages() The GetCodePages method gets a list of code pages that will encode the text added to this OutboundCodePageDetector object, ordered from best to worst.
Public method GetCodePages(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..
Public method GetCodePages(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.
Public method Reset The Reset method resets this OutboundCodePageDetector object.

Top

See also

Reference

OutboundCodePageDetector class

Microsoft.Exchange.Data.Globalization namespace