CodePagesEncodingProvider::GetEncoding Method (Int32)
.NET Framework (current version)
Returns the encoding associated with the specified code page identifier.
Namespace: System.Text
Assembly: System.Text.Encoding.CodePages (in System.Text.Encoding.CodePages.dll)
Parameters
- codepage
- Type: System::Int32
The code page identifier of the requested encoding.
Return Value
Type: System.Text::EncodingThe encoding that is associated with the specified code page, or nullptr if this EncodingProvider cannot return a valid encoding that corresponds to codepage.
Notes to Callers
This method is called by the Encoding::GetEncoding(Int32) method. You should not call it directly from user code.
Show: