Internet Direct (Indy)
|
Performs type conversion for the platform-specific class instance.
function CType( aStrings: StringCollection ): TIdStrings; overload;
Parameters |
Description |
aStrings |
FCL String collection to convert to a TIdStrings instance. |
TIdStrings - Native TIdStrings instance for the type conversion.
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.
TIdBaseComponent.CType
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. |