ConfigurationLockCollection.IsModified Property


Gets a value specifying whether the collection has been modified.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public bool IsModified { get; }

Property Value

Type: System.Boolean

true if the ConfigurationLockCollection collection has been modified; otherwise, false.

The following code example demonstrates how to use the IsModified property. This code example is part of a larger example provided for the ConfigurationLockCollection class.

// IsModified property.
Console.WriteLine("IsModified: {0}",

.NET Framework
Available since 2.0
Return to top