ConfigurationLockCollection::SetFromList Method (String^)
.NET Framework (current version)
Locks a set of configuration objects based on the supplied list.
Assembly: System.Configuration (in System.Configuration.dll)
Parameters
- attributeList
-
Type:
System::String^
A comma-delimited string.
| Exception | Condition |
|---|---|
| ConfigurationErrorsException | Occurs when an item in the attributeList parameter is not a valid lockable configuration attribute. |
The following code example demonstrates how to use the SetFromList method. This code example is part of a larger example provided for the ConfigurationLockCollection class.
.NET Framework
Available since 2.0
Available since 2.0
Show: