Vcl.AxCtrls.TStringsAdapter

From RAD Studio API Documentation
Jump to: navigation, search

System.Win.ComObj.TAutoIntfObjectSystem.TInterfacedObjectSystem.TObjectTStringsAdapter

Delphi

TStringsAdapter = class(TAutoIntfObject, IStrings, IStringsAdapter)

C++

class PASCALIMPLEMENTATION TStringsAdapter : public System::Win::Comobj::TAutoIntfObject

Properties

Type Visibility Source Unit Parent
class public
Vcl.AxCtrls.pas
Vcl.AxCtrls.hpp
Vcl.AxCtrls Vcl.AxCtrls

Description

TStringsAdapter is a helper class used to allow a TStrings object to implement an IStrings interface for use with OLE.

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.

See Also