Performs type conversion for the platform-specific class instance.
function CType( aStrings: StringCollection ): TIdStrings; overload;
CType is an overloaded TIdStrings function used to perform type conversion for the platform-specific class instance in aStrings.
CType is available in Visual Studio builds of the Indy library (specifically for VB.Net programs) which do not have access to the implicit conversions in the Borland RTL.
CType is used to convert the StringsCollection instance in aStrings to a native TIdStrings class instance.
Use overloaded variants of the method to convert an FCL System.IO.Stream class instance to a TIdStream class instance.
Use overloaded variants of the method to convert a native TIdStrings class instance to a StringCollection class instance.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.