Share via


PropertyBag.IsModified Method

Definition

Returns a value indicating whether the collection has been modified since it was created.

Overloads

IsModified()

Returns a value indicating whether the collection has been modified since it was created.

IsModified(Int32)

Returns a value indicating whether the specified item has been modified since it was created.

IsModified()

Returns a value indicating whether the collection has been modified since it was created.

public:
 bool IsModified();
public bool IsModified ();
member this.IsModified : unit -> bool
Public Function IsModified () As Boolean

Returns

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

Exceptions

State tracking is not enabled for the collection (IsTrackingState is false).

Applies to

IsModified(Int32)

Returns a value indicating whether the specified item has been modified since it was created.

public:
 bool IsModified(int key);
public bool IsModified (int key);
member this.IsModified : int -> bool
Public Function IsModified (key As Integer) As Boolean

Parameters

key
Int32

The integer key of the item to check.

Returns

true if the item with the specified key has been modified; otherwise, false.

Exceptions

State tracking is not enabled for the collection (IsTrackingState is false).

Applies to