PropertyBagBase..::..Set Method (Nullable<(Of <(<'Object>)>)>, 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.Internals
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


public bool Set(
	Nullable<Object> value,
	string propertyName
)
Public Function Set ( _
	value As Nullable(Of Object), _
	propertyName As String _
) As Boolean

Parameters

value
Type: Nullable<(Of <(<'Object>)>)>
Value to be saved.
propertyName
Type: String
Name of property to be created/updated

Return Value

Exceptions


ExceptionCondition
[ArgumentNullException]propertyName;propertyName is null
[ArgumentException]propertyName is empty.;propertyName