Sets the specified field. Use of this overload is only required if you are calling other persistent attribute property setters within a single property setter.

Namespace:  Mindscape.LightSpeed
Assembly:  Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
protected void Set<TField>(
	ref TField field,
	TField value,
	string propertyName
)
Visual Basic (Declaration)
Protected Sub Set(Of TField) ( _
	ByRef field As TField, _
	value As TField, _
	propertyName As String _
)

Parameters

field
Type: TField %
The field.
value
Type: TField
The value.
propertyName
Type: System..::.String
Name of the property.

Type Parameters

TField
The type of the field.

See Also