Initialize a given class with the message bundle Keys Should be called from a class that extends NLS in a static block at class load time.

Namespace: Lucene.Net.Messages
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
protected internal static void InitializeMessages(
	string bundleName,
	Type clazz
)
Visual Basic
Protected Friend Shared Sub InitializeMessages ( _
	bundleName As String, _
	clazz As Type _
)
Visual C++
protected public:
static void InitializeMessages(
	String^ bundleName, 
	Type^ clazz
)

Parameters

bundleName
Type: System..::..String
Property file with that contains the message bundle
clazz
Type: System..::..Type
where constants will reside

See Also