Export (0) Print
Expand All

PersonalizationProviderCollection.Add Method

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)

public override void Add(
	ProviderBase provider
)

Parameters

provider
Type: System.Configuration.Provider.ProviderBase

The personalization provider to be added.

ExceptionCondition
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft