Returns the encoding associated with the specified code page name.

Namespace:  Rebex
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Shared Function GetEncoding ( _
	name As String _
) As Encoding
C#
public static Encoding GetEncoding(
	string name
)

Parameters

name
Type: System..::..String
Code page name.

Return Value

Encoding.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also