Apply an "in" constraint to the projection

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

Syntax

C#
public static AbstractCriterion In(
	IProjection projection,
	Object[] values
)
Visual Basic
Public Shared Function In ( _
	projection As IProjection, _
	values As Object() _
) As AbstractCriterion
Visual C++
public:
static AbstractCriterion^ In(
	IProjection^ projection, 
	array<Object^>^ values
)

Parameters

projection
Type: NHibernate.Criterion..::..IProjection
The projection.
values
Type: array<System..::..Object>[]()[][]
An array of values.

Return Value

An InExpression.

See Also