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