When implemented by a class, sets the value of the Property/Field on the object.

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

Syntax

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

Parameters

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

Exceptions

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

See Also