UnicodeSet.ApplyPropertyAlias 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| ApplyPropertyAlias(String, String) |
修改此设置以包含具有给定属性的给定值的那些代码点。 |
| ApplyPropertyAlias(String, String, ISymbolTable) |
修改此设置以包含具有给定属性的给定值的那些代码点。 |
ApplyPropertyAlias(String, String)
修改此设置以包含具有给定属性的给定值的那些代码点。
[Android.Runtime.Register("applyPropertyAlias", "(Ljava/lang/String;Ljava/lang/String;)Landroid/icu/text/UnicodeSet;", "GetApplyPropertyAlias_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=24)]
public virtual Android.Icu.Text.UnicodeSet? ApplyPropertyAlias(string? propertyAlias, string? valueAlias);
[<Android.Runtime.Register("applyPropertyAlias", "(Ljava/lang/String;Ljava/lang/String;)Landroid/icu/text/UnicodeSet;", "GetApplyPropertyAlias_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=24)>]
abstract member ApplyPropertyAlias : string * string -> Android.Icu.Text.UnicodeSet
override this.ApplyPropertyAlias : string * string -> Android.Icu.Text.UnicodeSet
参数
- propertyAlias
- String
属性别名,短或长。 名称松散匹配。 有关松散匹配的名称和说明,请参阅 PropertyAliases.txt。 如果值字符串为空,则将此字符串解释为General_Category值别名、脚本值别名、二进制属性别名或特殊 ID。 特殊 ID 松散匹配,对应于以下集:
"ANY" = [\\u0000-\\U0010FFFF],
"ASCII" = [\\u0000-\\u007F].
- valueAlias
- String
值别名,短或长。 名称松散匹配。 有关松散匹配的名称和说明,请参阅 PropertyValueAliases.txt。 除了列出的别名外,数值和规范组合类还可以以数字方式表示,例如(“nv”、“0.5”)或(“ccc”、“220”)。 值字符串也可能为空。
返回
对此集的引用
- 特性
注解
修改此设置以包含具有给定属性的给定值的那些代码点。 此集的先前内容丢失。
Java文档android.icu.text.UnicodeSet.applyPropertyAlias(java.lang.String, java.lang.String)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
ApplyPropertyAlias(String, String, ISymbolTable)
修改此设置以包含具有给定属性的给定值的那些代码点。
[Android.Runtime.Register("applyPropertyAlias", "(Ljava/lang/String;Ljava/lang/String;Landroid/icu/text/SymbolTable;)Landroid/icu/text/UnicodeSet;", "GetApplyPropertyAlias_Ljava_lang_String_Ljava_lang_String_Landroid_icu_text_SymbolTable_Handler", ApiSince=24)]
public virtual Android.Icu.Text.UnicodeSet? ApplyPropertyAlias(string? propertyAlias, string? valueAlias, Android.Icu.Text.ISymbolTable? symbols);
[<Android.Runtime.Register("applyPropertyAlias", "(Ljava/lang/String;Ljava/lang/String;Landroid/icu/text/SymbolTable;)Landroid/icu/text/UnicodeSet;", "GetApplyPropertyAlias_Ljava_lang_String_Ljava_lang_String_Landroid_icu_text_SymbolTable_Handler", ApiSince=24)>]
abstract member ApplyPropertyAlias : string * string * Android.Icu.Text.ISymbolTable -> Android.Icu.Text.UnicodeSet
override this.ApplyPropertyAlias : string * string * Android.Icu.Text.ISymbolTable -> Android.Icu.Text.UnicodeSet
参数
- propertyAlias
- String
属性别名的字符串。
- valueAlias
- String
值别名的字符串。
- symbols
- ISymbolTable
如果不是 null,则首先调用符号以查看属性是否可用。 如果为 true,则跳过其他所有内容。
返回
此集
- 特性
注解
修改此设置以包含具有给定属性的给定值的那些代码点。 此集的先前内容丢失。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。