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

Public Functions

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

Protected Attributes

Name
boolswigCMemOwn

Public Functions Documentation

function Dispose

virtual void Dispose()

function Set

void Set(
    string text
)

Set the translated text.

Parameters:

  • text The translated text.

function Set

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

Protected Attributes Documentation

variable swigCMemOwn

bool swigCMemOwn;