Internet Direct (Indy)
Home
PreviousUpNext
TIdMessageEncoderList.ByName Method

Retrieves information about a registered encoder class using a specified name.

Pascal
class function ByName(
    const AName: string
): TIdMessageEncoderInfo;
Parameters 
Description 
AName 
Name of the registered encoder class to be retrieved. 

TIdMessageEncoderInfo - Registerd encoder class that matxh the specified name.

ByName is a TIdMessageEncoderInfo class function in TIdMessageEncoderList that retrieves information about a registered encoder class using the name specified in AName. If a registered encoder cannot be located with the specified name, an EIdException exception is raised with the constant message RSMessageEncoderNotFound the value in AName. 

ByName is used by TIdMessage and TIdMessageParts when updating the value of the AttachmentEncoding property.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.