PropertyBag.IsModified Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
).