Initialize a new instance of the MatchMode class.
Namespace: NHibernate.CriterionAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
protected MatchMode( int intCode, string name ) |
Visual Basic |
---|
Protected Sub New ( _ intCode As Integer, _ name As String _ ) |
Visual C++ |
---|
protected: MatchMode( int intCode, String^ 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.