Initialize a new instance of the MatchMode class.

Namespace:  NHibernate.Expression
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Protected Sub New ( _
	intCode As Integer, _
	name As String _
)
C#
protected MatchMode(
	int intCode,
	string name
)
Visual C++
protected:
MatchMode(
	int intCode, 
	String^ name
)
JavaScript
NHibernate.Expression.MatchMode = function(intCode, name);

Parameters

intCode
Type: System..::.Int32
The code that identifies the match mode.
name
Type: System..::.String
The friendly name of the match mode.

Remarks

The parameter intCode is used as the key of IDictionary to store instances and to ensure only instance of a particular MatchMode is created.

See Also