DevForce Help Reference
ForcePropertyChanged Method (EntityAspect)


A System.ComponentModel.PropertyChangedEventArgs or null
Forces a PropertyChanged event to be fired.
Syntax
'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
)

Parameters

e
A System.ComponentModel.PropertyChangedEventArgs or null
Remarks
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.

Requirements

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

See Also

Reference

EntityAspect Class
EntityAspect Members

Send Feedback