IPersistableObjectReplaceProperties Method
Replaces the properties of the
IPersistableObject with the provided new
properties. If contains less entries than the actually stored entries, then the difference will be removed from the
IPersistableObject.
Namespace: KGySoft.ComponentModelAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
void ReplaceProperties(
IDictionary<string, Object?> properties,
bool triggerChangedEvent = true
)
Sub ReplaceProperties (
properties As IDictionary(Of String, Object),
Optional triggerChangedEvent As Boolean = true
)
void ReplaceProperties(
IDictionary<String^, Object^>^ properties,
bool triggerChangedEvent = true
)
abstract ReplaceProperties :
properties : IDictionary<string, Object> *
?triggerChangedEvent : bool
(* Defaults:
let _triggerChangedEvent = defaultArg triggerChangedEvent true
*)
-> unit
Parameters
- properties IDictionaryString, Object
- The new properties to set.
- triggerChangedEvent Boolean (Optional)
- to allow raising the PropertyChanged event; otherwise, . This parameter is optional.
Default value: .