Click or drag to resize

ObjectChangeTrackingExtensionsPropertyHasChanged Method (Object, String)

Determines if a given property by name has changed since its tracking was started.

Namespace:  TrackerDog
Assembly:  TrackerDog (in TrackerDog.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
public static bool PropertyHasChanged(
	this Object some,
	string propertyName
)

Parameters

some
Type: SystemObject
The trackable object
propertyName
Type: SystemString
The property selector

Return Value

Type: Boolean
true if it has changed, false if it doesn't changed.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also