Skip to content
SiteEmail

cohtml.Net.ILocalizationManager.TranslationData

The struct should be used by the implementer to set the translated text. Use this struct only in the context of a ILocalizationManager.OnTranslate call.

Inherits from SystemIDisposable

Name
virtual voidDispose()
voidSet(string text)
Set the translated text.
voidSet(string text, uint lengthBytes)
The implementer must set here the translated text.
Name
boolswigCMemOwn
virtual void Dispose()
void Set(
string text
)

Set the translated text.

Parameters:

  • text The translated text.
void Set(
string text,
uint lengthBytes
)

The implementer must set here the translated text.

Parameters:

  • text the translated text encoded in UTF-8
  • lengthBytes the length in bytes of the UTF-8 encoded text
bool swigCMemOwn;