MembershipProviderCollection.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 a membership provider 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 membership provider to add to the collection.
Exceptions
provider
is null
.
provider
is not of a type that inherits the MembershipProvider abstract class.
Remarks
This method is not intended to be used from your code.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.