ProtectedConfigurationProviderCollection.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 ProtectedConfigurationProvider object 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
A ProtectedConfigurationProvider object to add to the collection.
Exceptions
provider
is null
.
provider
is not a ProtectedConfigurationProvider object.
The ProtectedConfigurationProvider object to add already exists in the collection.
-or-
The collection is read-only.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.