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
Section titled “Public Functions”| Name | |
|---|---|
| virtual void | Dispose() |
| void | Set(string text) Set the translated text. |
| void | Set(string text, uint lengthBytes) The implementer must set here the translated text. |
Protected Attributes
Section titled “Protected Attributes”| Name | |
|---|---|
| bool | swigCMemOwn |
Public Functions Documentation
Section titled “Public Functions Documentation”function Dispose
Section titled “function Dispose”virtual void Dispose()function Set
Section titled “function Set”void Set( string text)Set the translated text.
Parameters:
- text The translated text.
function Set
Section titled “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
Section titled “Protected Attributes Documentation”variable swigCMemOwn
Section titled “variable swigCMemOwn”bool swigCMemOwn;© 2026 Coherent Labs. All rights reserved.