IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityAspect Class : ForcePropertyChanged Method |
'Declaration
Public Sub ForcePropertyChanged( _ ByVal e As PropertyChangedEventArgs _ )
'Usage
Dim instance As EntityAspect Dim e As PropertyChangedEventArgs instance.ForcePropertyChanged(e)
public void ForcePropertyChanged( PropertyChangedEventArgs e )
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2