Sets the value of the Field on the object.

Namespace:  NHibernate.Property
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Sub Set ( _
	target As Object, _
	value As Object _
)
C#
public void Set(
	Object target,
	Object value
)
Visual C++
public:
virtual void Set(
	Object^ target, 
	Object^ value
) sealed
JavaScript
function set(target, value);

Parameters

target
Type: System..::.Object
The object to set the Field value in.
value
Type: System..::.Object
The value to set the Field to.

Implements

ISetter..::.Set(Object, Object)

Exceptions

ExceptionCondition
NHibernate..::.PropertyAccessException Thrown when there is a problem setting the value in the target.

See Also