System.Web.Profile.ProfileProviderCollection.Add Method

Adds a profile provider to the collection.

Syntax

public override void Add (System.Configuration.Provider.ProviderBase provider)

Parameters

provider
The profile provider to add to the collection.

Remarks

This method is not intended to be used from your code.

Profile provider instances are added to the ProfileProviderCollection for an application using the providers section of the profile configuration element. You can access the profile provider collection using the ProfileManager.Providers property of the System.Web.Profile.ProfileManager class.

Requirements

Namespace: System.Web.Profile
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0