Sets the value of the Field on the object.
Namespace:
NHibernate.PropertyAssembly: 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
Exception | Condition |
---|---|
NHibernate..::.PropertyAccessException | Thrown when there is a problem setting the value in the target. |