Extract the value of a particular property from the given entity.

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

Syntax

C#
Object GetPropertyValue(
	Object entity,
	int i
)
Visual Basic
Function GetPropertyValue ( _
	entity As Object, _
	i As Integer _
) As Object
Visual C++
Object^ GetPropertyValue(
	Object^ entity, 
	int i
)

Parameters

entity
Type: System..::..Object
The entity from which to extract the property value.
i
Type: System..::..Int32
The index of the property for which to extract the value.

Return Value

The current value of the given property on the given entity.

See Also