IDNA.LabelToUnicode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| LabelToUnicode(String, StringBuilder, IDNA+Info) |
Processes a single domain-name label for Unicode display. |
| LabelToUnicode(ICharSequence, StringBuilder, IDNA+Info) |
Converts a single domain name label into its Unicode form for human-readable display. |
LabelToUnicode(String, StringBuilder, IDNA+Info)
Processes a single domain-name label for Unicode display.
public Java.Lang.StringBuilder? LabelToUnicode(string? label, Java.Lang.StringBuilder? dest, Android.Icu.Text.IDNA.Info? info);
member this.LabelToUnicode : string * Java.Lang.StringBuilder * Android.Icu.Text.IDNA.Info -> Java.Lang.StringBuilder
Parameters
- label
- String
The managed string containing one domain-name label to process.
- dest
- StringBuilder
The destination builder whose existing contents are replaced by the processed output.
- info
- IDNA.Info
The container in which this call reports processing errors and status.
Returns
The dest builder containing the processed Unicode output; info records processing errors.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
LabelToUnicode(ICharSequence, StringBuilder, IDNA+Info)
Converts a single domain name label into its Unicode form for human-readable display.
[Android.Runtime.Register("labelToUnicode", "(Ljava/lang/CharSequence;Ljava/lang/StringBuilder;Landroid/icu/text/IDNA$Info;)Ljava/lang/StringBuilder;", "GetLabelToUnicode_Ljava_lang_CharSequence_Ljava_lang_StringBuilder_Landroid_icu_text_IDNA_Info_Handler", ApiSince=24)]
public abstract Java.Lang.StringBuilder? LabelToUnicode(Java.Lang.ICharSequence? label, Java.Lang.StringBuilder? dest, Android.Icu.Text.IDNA.Info? info);
[<Android.Runtime.Register("labelToUnicode", "(Ljava/lang/CharSequence;Ljava/lang/StringBuilder;Landroid/icu/text/IDNA$Info;)Ljava/lang/StringBuilder;", "GetLabelToUnicode_Ljava_lang_CharSequence_Ljava_lang_StringBuilder_Landroid_icu_text_IDNA_Info_Handler", ApiSince=24)>]
abstract member LabelToUnicode : Java.Lang.ICharSequence * Java.Lang.StringBuilder * Android.Icu.Text.IDNA.Info -> Java.Lang.StringBuilder
Parameters
- label
- ICharSequence
Input domain name label
- dest
- StringBuilder
Destination string object
- info
- IDNA.Info
Output container of IDNA processing details.
Returns
dest
- Attributes
Remarks
Converts a single domain name label into its Unicode form for human-readable display. If any processing step fails, then info.hasErrors() will be true. The label might be modified according to the types of errors.
Android reference for android.icu.text.IDNA.labelToUnicode.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.