LOCCON Method (String, Object) |
Command option name strings that need to be localized should call this function. The CON function
doesn't actually do anything but return the original string. The LocalizationProcessor application walks
through the source code of a project and looks for LOC.CON. The function is then replaced with a
call to Localization.LocalizeCommandOptionName using a unique context ID.
Namespace:
Rhino.UI
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public static LocalizeStringPair CON(
string english,
Object assemblyFromObject
)
Public Shared Function CON (
english As String,
assemblyFromObject As Object
) As LocalizeStringPair
Parameters
- english
- Type: SystemString
[in] The English string to localize. - assemblyFromObject
- Type: SystemObject
[in] The object that identifies the assembly that owns the command option name.
Return Value
Type:
LocalizeStringPairReturns localized string pair with both the English and local names set to the English value.
See Also