IAltEncodingFactory interface | QSYS API Reference Guide

Defines methods for creating instances of AltEncoding and getting information about the encodings supported by the factory.

Namespace: ASNA.DataGate.DataLink.Text Assembly: ASNA.QSys.DataGate.Client.dll

Extends: doesn’t extend any other interfaces.

Properties

Type Name Description
IEnumerable<AltEncodingInfo> Encodings This method should return an array of AltEncodingInfo objectsrepresenting all encodings supported by the factory. Only includean AltEncoding object in the returned array if that object’s Nameproperty value can be passed to GetEncoding to return a validAltEncoding object.

Methods

Signature Description
GetEncoding(String) Generally, this method should only return an instance ofAltEncoding if the encoding is represented by one of theAltEncodingInfo objects returned by the Encodings property.This method should throw ArgumentException if the name given is notsupported by the factory.

AltEncoding GetEncoding(string name)

Generally, this method should only return an instance ofAltEncoding if the encoding is represented by one of theAltEncodingInfo objects returned by the Encodings property.This method should throw ArgumentException if the name given is notsupported by the factory.

AltEncoding GetEncoding(string name)

Parameters

Type Parameter name Description
String name The name of the encoding, as returned by AltEncoding.EncodingName.

Returns

Type Description
AltEncoding An instance of AltEncoding representing the desiredencoding translation facility.