Apply an "in" constraint to the named property

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

Syntax

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

Parameters

propertyName
Type: System..::..String
The name of the Property in the class.
values
Type: array<System..::..Object>[]()[][]
An array of values.

Return Value

An InExpression.

See Also