Build 1.01.318.0
[This is preliminary documentation and is subject to change.]
The LocalizedText type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| LocalizedText(String) |
Initializes the object with a text and the default locale.
| |
| LocalizedText(LocalizedText) |
Creates a deep copy of the value.
| |
| LocalizedText(TranslationInfo) |
Creates text from a TranslationInfo object.
| |
| LocalizedText(String, String) |
Initializes the object with a locale and text.
| |
| LocalizedText(String, String, String) |
Initializes the locale with a key, locale and text.
| |
| LocalizedText(String, String, String, array<Object>[]()[][]) |
Formats the text with the arguments using the specified locale.
|
Methods
| Name | Description | |
|---|---|---|
| Clone |
Makes a deep copy of the object.
| |
| Equals |
Returns true if the objects are equal.
(Overrides Object..::..Equals(Object).) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Returns a suitable hash code for the object.
(Overrides Object..::..GetHashCode()()()().) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsNullOrEmpty |
Returns true if the text is a null or empty string.
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToLocalizedText |
Converts a string to a localized text.
| |
| ToString()()()() |
Returns the string representation of the object.
(Overrides Object..::..ToString()()()().) | |
| ToString(String, IFormatProvider) |
Returns the string representation of the object.
|
Operators
| Name | Description | |
|---|---|---|
| Equality |
Returns true if the objects are equal.
| |
| ImplicitWideningImplicitImplicitImplicit(String to LocalizedText) |
Converts a string to a localized text.
| |
| Inequality |
Returns true if the objects are not equal.
|
Properties
| Name | Description | |
|---|---|---|
| Key |
A key that can be used to look to the localized text in different locales.
| |
| Locale |
The locale used to create the text.
| |
| Null |
Returns an instance of a null LocalizedText.
| |
| Text |
The localized text.
| |
| TranslationInfo |
The information required to translate the text into other locales.
|