Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public static Encoding GetEncoding(
	string encoding,
	Encoding defaultEncoding
)
Visual Basic
Public Shared Function GetEncoding ( 
	encoding As String,
	defaultEncoding As Encoding
) As Encoding

Parameters

encoding
Type: System..::..String
defaultEncoding
Type: System.Text..::..Encoding

Return Value

Type: Encoding

See Also