语言

UnicodeSet.Strings 方法

定义

用于循环访问集中的字符串。

[Android.Runtime.Register("strings", "()Ljava/util/Collection;", "GetStringsHandler", ApiSince=24)]
public virtual System.Collections.Generic.ICollection<string>? Strings();
[<Android.Runtime.Register("strings", "()Ljava/util/Collection;", "GetStringsHandler", ApiSince=24)>]
abstract member Strings : unit -> System.Collections.Generic.ICollection<string>
override this.Strings : unit -> System.Collections.Generic.ICollection<string>

返回

字符串元素的只读集合,不包括集的单代码点元素。

特性

注解

用于循环访问集中的字符串。 Example:

for (String key : myUnicodeSet.strings()) {
              doSomethingWith(key);
            }

Java文档android.icu.text.UnicodeSet.strings()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于