RAD Studio VCL Reference
|
TStringsAdapter is a helper class used to allow a TStrings object to implement an IStrings interface for use with OLE.
TStringsAdapter = class(TAutoIntfObject, IStrings, IStringsAdapter);
class TStringsAdapter : public TAutoIntfObject, public IStrings, public IStringsAdapter;
Use a strings adapter to adapt a TStrings object so that it supports the IStrings interface. To do so, create the strings adapter by calling GetOleStrings, passing the TStrings object as a parameter. Once the strings adapter is instantiated for a TStrings object, the StringsAdapter property of the TStrings object can be used to interact with the TStrings object through an IStrings interface.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|