ConfigurationLockCollection.IsModified Property

Definition

Gets a value specifying whether the collection has been modified.Gets a value specifying whether the collection has been modified.

public:
 property bool IsModified { bool get(); };
public bool IsModified { get; }
member this.IsModified : bool
Public ReadOnly Property IsModified As Boolean

Property Value

Boolean

true, если коллекция ConfigurationLockCollection была изменена; в противном случае — false.true if the ConfigurationLockCollection collection has been modified; otherwise, false.

Examples

В следующем примере кода показано, как использовать свойство IsModified.The following code example demonstrates how to use the IsModified property. Этот пример кода является частью большого примера, приведенного для класса ConfigurationLockCollection.This code example is part of a larger example provided for the ConfigurationLockCollection class.

// IsModified property.
Console.WriteLine("IsModified: {0}",
 lockedAttribList.IsModified);
' IsModified property.
Console.WriteLine("IsModified: {0}", _
 lockedAttribList.IsModified)

Applies to