Sets the value of the Field on the object.
Namespace: NHibernate.PropertiesAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public void Set( Object target, Object value ) |
Visual Basic |
---|
Public Sub Set ( _ target As Object, _ value As Object _ ) |
Visual C++ |
---|
public: virtual void Set( Object^ target, Object^ value ) sealed |
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. |