| TranslationManagerDeclareTranslation Method |
Associates an encoding and decoding pair with an identifier.
Namespace:
RW.Server.Component
Assembly:
RW.Server.Component (in RW.Server.Component.dll) Version: 7.2.0.0 (7.2.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