Visual Basic (Declaration) | |
---|---|
Public Sub ForcePropertyChanged( _ ByVal e As PropertyChangedEventArgs _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As EntityAspect Dim e As PropertyChangedEventArgs instance.ForcePropertyChanged(e) |
C# | |
---|---|
public void ForcePropertyChanged( PropertyChangedEventArgs e ) |
C++/CLI | |
---|---|
public: void ForcePropertyChanged( PropertyChangedEventArgs^ e ) |
Parameters
- e
- A System.ComponentModel.PropertyChangedEventArgs or null
An Empty value or a null reference (
Nothing
in Visual Basic) for the propertyName parameter of PropertyChangedEventArgs indicates that all of the properties have changed, causing the .NET framework to also fire a ListChangedEventArgs.ListChangedType of "Reset" if the event propagates to a list that supports the ListChanged event.
Passing a null value to this method will insure that a valid (dynamically created) property name is passed on to any listeners.
This method should only be needed in situations where changes to calculated fields or other properties not backed by an EntityProperty must be made known.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family