| TranslationManagerDeclareTranslation Method |
Associates an encoding and decoding pair with an identifier.
Namespace: RW.Server.ComponentAssembly: RW.Server.Component (in RW.Server.Component.dll) Version: 6.3.0.0 (0.8.0.0)
Syntax public static bool DeclareTranslation(
string name,
TranslationManagerStrEncoder encoder,
TranslationManagerStrDecoder decoder
)
Public Shared Function DeclareTranslation (
name As String,
encoder As TranslationManagerStrEncoder,
decoder As TranslationManagerStrDecoder
) As Boolean
public:
static bool DeclareTranslation(
String^ name,
TranslationManagerStrEncoder^ encoder,
TranslationManagerStrDecoder^ decoder
)
Parameters
- name
- Type: SystemString
Identifier of the translation. - encoder
- Type: RW.Server.ComponentTranslationManagerStrEncoder
Encoder delegate. - decoder
- Type: RW.Server.ComponentTranslationManagerStrDecoder
Decoder delegate.
Return Value
Type:
Booleantrue if no such association with the same name
has been previously registered;
false otherwise.
See Also