次の方法で共有


Properties.StringPropertyNames Method

Definition

Returns a set of keys in this property list where the key and its corresponding value are strings, including distinct keys in the default property list if a key of the same name has not already been found from the main properties list.

[Android.Runtime.Register("stringPropertyNames", "()Ljava/util/Set;", "GetStringPropertyNamesHandler")]
public virtual System.Collections.Generic.ICollection<string>? StringPropertyNames ();
[<Android.Runtime.Register("stringPropertyNames", "()Ljava/util/Set;", "GetStringPropertyNamesHandler")>]
abstract member StringPropertyNames : unit -> System.Collections.Generic.ICollection<string>
override this.StringPropertyNames : unit -> System.Collections.Generic.ICollection<string>

Returns

a set of keys in this property list where the key and its corresponding value are strings, including the keys in the default property list.

Attributes

Remarks

Returns a set of keys in this property list where the key and its corresponding value are strings, including distinct keys in the default property list if a key of the same name has not already been found from the main properties list. Properties whose key or value is not of type String are omitted.

The returned set is not backed by the Properties object. Changes to this Properties are not reflected in the set, or vice versa.

Added in 1.6.

Java documentation for java.util.Properties.stringPropertyNames().

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