Open sandboxFocus

Method GetMessage

GetMessage(string)

Gets a message text given a message key.

Declaration
public string GetMessage(string key)
Parameters
Type Name Description
string key

Message key.

Returns
Type Description
string

The text corresponding to key.

Implements

GetMessage(int)

Gets the message text of a given number.

Declaration
protected abstract string GetMessage(int number)
Parameters
Type Name Description
int number

Message number.

Returns
Type Description
string

The message text corresponding to number.