PropertyBagBase..::..Set Method (Nullable<(Of <(<'Object>)>)>, PropertySetModes, String, Nullable<(Of <(<'Object>)>)>%)

Implementors need to override this to save the indicated value.

Namespace:  Tortuga.Anchor.Modeling.Internals
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


[SuppressMessageAttribute]
public bool Set(
	Nullable<Object> value,
	PropertySetModes mode,
	string propertyName,
	out Nullable<Object> oldValue
)
<SuppressMessageAttribute> _
Public Function Set ( _
	value As Nullable(Of Object), _
	mode As PropertySetModes, _
	propertyName As String, _
	<OutAttribute> ByRef oldValue As Nullable(Of Object) _
) As Boolean

Parameters

value
Type: Nullable<(Of <(<'Object>)>)>
The value to be saved. A null will set the value to null.
mode
Type: Tortuga.Anchor.Modeling.Internals..::..PropertySetModes
Indicates special handling for the action.
propertyName
Type: String
Name of property to update
oldValue
Type: Nullable<(Of <(<'Object>)>)>%
The previously stored value. If the property was uninitialized, this will return NotSet.Value

Return Value

True if the value actually changed

Remarks


This will create the property if it doesn't already exist