Return the negation of an expression

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

Syntax

C#
public static AbstractCriterion Not(
	ICriterion expression
)
Visual Basic
Public Shared Function Not ( _
	expression As ICriterion _
) As AbstractCriterion
Visual C++
public:
static AbstractCriterion^ Not(
	ICriterion^ expression
)

Parameters

expression
Type: NHibernate.Criterion..::..ICriterion
The Expression to negate.

Return Value

A NotExpression.

See Also