CharsetFactory: GetCharSet

GetCharSet

Returns a given CharSet object.

 Public Function GetCharSet(
	  cs As MARCCHARSET ) As ICharSet

Parameters

cs
[ByRef] MARCCHARSET. The CharSet to return

Return Values

ICharSet -  A specific CharSet as indicated by the cs parameter

Remarks

The various Charsets are created only as needed, but once they are created they are cached by the factory, so only one instance of a given charset will ever be created. A CharSet should almost never be needed by an external program because the CharSetFactory will internally switch between CharSets as needed

See Also

Project marc8 Overview Class CharsetFactory Overview CharsetFactory Properties CharsetFactory Methods G1 Initialize