ConfigurationLockCollection.IsModified Property

Definition

获取一个值,该值指定是否已修改集合。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

如果此 ConfigurationLockCollection 集合已修改,则为 true;否则为 falsetrue 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