GenericDocument.GetPropertyString(String) Method

Definition

Retrieves a String property by path.

[Android.Runtime.Register("getPropertyString", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetPropertyString_Ljava_lang_String_Handler", ApiSince=31)]
public virtual string? GetPropertyString (string path);
[<Android.Runtime.Register("getPropertyString", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetPropertyString_Ljava_lang_String_Handler", ApiSince=31)>]
abstract member GetPropertyString : string -> string
override this.GetPropertyString : string -> string

Parameters

path
String

The path to look for.

Returns

The first String associated with the given path or null if there is no such value or the value is of a different type.

Attributes

Remarks

Java documentation for android.app.appsearch.GenericDocument.getPropertyString(java.lang.String).

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