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

Namespace: NHibernate.Properties
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
void Set(
	Object target,
	Object value
)
Visual Basic
Sub Set ( _
	target As Object, _
	value As Object _
)
Visual C++
void Set(
	Object^ target, 
	Object^ 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