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 | |
---|---|---|
OutboundCodePageDetector | The OutboundCodePageDetector constructor creates a new OutboundCodePageDetector object. |
Top
Methods
Name | Description | |
---|---|---|
AddText(Char) | The AddText method adds a character to this OutboundCodePageDetector object. | |
AddText([]) | The AddText method adds text from a character array to this OutboundCodePageDetector object. | |
AddText(TextReader) | The AddText method adds text from a TextReader to this OutboundCodePageDetector object. | |
AddText(String) | The AddText method adds text from a string to this OutboundCodePageDetector object. | |
AddText(TextReader, Int32) | The AddText method adds a specified amount of text from a TextReader to this OutboundCodePageDetector object. | |
AddText([], Int32, Int32) | The AddText method adds text from a character array to this OutboundCodePageDetector object. | |
AddText(String, Int32, Int32) | The AddText method adds text from a String to this OutboundCodePageDetector object. | |
GetBestWindowsCodePage | The GetBestWindowsCodePage method gets the Windows code page that is able to represent the most text added to this OutboundCodePageDetector object. | |
GetCodePage() | The GetCodePage method gets the code page that best represents the text added to this OutboundCodePageDetector object. | |
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. | |
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. | |
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. | |
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. | |
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.. | |
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. | |
Reset | The Reset method resets this OutboundCodePageDetector object. |
Top