PersonalizationProviderCollection.Add(ProviderBase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an instance of a class that implements PersonalizationProvider to the collection.
public:
override void Add(System::Configuration::Provider::ProviderBase ^ provider);
public override void Add (System.Configuration.Provider.ProviderBase provider);
override this.Add : System.Configuration.Provider.ProviderBase -> unit
Public Overrides Sub Add (provider As ProviderBase)
Parameters
- provider
- ProviderBase
The personalization provider to be added.
Exceptions
The provider specified is not a PersonalizationProvider.
The provider
parameter is null
.
Remarks
Use this method to add PersonalizationProvider-derived instances to the collection.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.