RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TProviderDataModule.GetProvider Method

Returns a registered provider component given its name.

Pascal
function GetProvider(const ProviderName: string): TCustomProvider; virtual;
C++
virtual __fastcall TCustomProvider GetProvider(const AnsiString ProviderName);

GetProvider is the protected read implementation of the Providers property. ProviderName specifies the name of a provider that is returned. If ProviderName is not one of the names returned by AS_GetProviderNames (for example, if the provider's Exported property is false), GetProvider raises an exception. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!