AbstractModelCollection<(Of <(<'T, TPropertyTracking>)>)>..::..Set<(Of <(<'TValue>)>)> Method (TValue, PropertyChangedEventHandler, String)
Set the indicated property to the value.
If the value doesn't match the previous value, or if there is no previous value, raise a property changed notification.
Namespace:
Tortuga.Anchor.Modeling.InternalsAssembly: Tortuga.Anchor (in Tortuga.Anchor.dll)
Syntax
public bool Set<TValue>( TValue value, PropertyChangedEventHandler propertyChanged, string propertyName ) where TValue : INotifyPropertyChanged, INotifyCollectionChanged
Public Function Set(Of TValue As {INotifyPropertyChanged, INotifyCollectionChanged}) ( _ value As TValue, _ propertyChanged As PropertyChangedEventHandler, _ propertyName As String _ ) As Boolean
Type Parameters
- TValue
Parameters
- value
- Type: TValue
Value to be saved.
- propertyChanged
- Type: PropertyChangedEventHandler
A property changed event handler to be attached to the new value. If an old value exists, the event handler will be removed from it.
- propertyName
- Type: String
Name of property to be created/updated