PersonalizationProviderCollection.Add Method (ProviderBase)

 

Adds an instance of a class that implements PersonalizationProvider to the collection.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

override Add : 
        provider:ProviderBase -> unit

Parameters

provider
Type: System.Configuration.Provider.ProviderBase

The personalization provider to be added.

Exception Condition
ArgumentException

The provider specified is not a PersonalizationProvider.

ArgumentNullException

The provider parameter is null.

Use this method to add PersonalizationProvider-derived instances to the collection.

.NET Framework
Available since 2.0
Return to top
Show: