This function provides the formatting of simple data types into a predefined string.
object.FormatStr(aFormat,
aArg0)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISLanguageUtils interface |
|
aFormat |
In, Required | string |
The string where the data will be
entered |
aArg0 |
In, Required | object |
The argument to be entered into the
string |
string
Display the result of formatting of the specified data into a string.
Dim aLanguageUtils
Dim aMessage
Set aLanguageUtils = Profile.LanguageUtils
aMessage =_
aLanguageUtils.FormatStr("The current configuration has ""%0:s"" UI language",_
aLanguageUtils.GetUILanguage)
Profile.MsgBox(aMessage)