Rogue Wave Server Component library for .NET Reference Guide
|
|
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.0.0.0 (7.0.0.0)
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.