GenericDocument.GetProperty(String) 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.
Retrieves the property value with the given path as Object
.
[Android.Runtime.Register("getProperty", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetProperty_Ljava_lang_String_Handler", ApiSince=31)]
public virtual Java.Lang.Object? GetProperty (string path);
[<Android.Runtime.Register("getProperty", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetProperty_Ljava_lang_String_Handler", ApiSince=31)>]
abstract member GetProperty : string -> Java.Lang.Object
override this.GetProperty : string -> Java.Lang.Object
Parameters
- path
- String
The path to look for.
Returns
The entry with the given path as an object or null
if there is no such path.
The returned object will be one of the following types: String[]
, long[]
,
double[]
, boolean[]
, byte[][]
, GenericDocument[]
.
- Attributes
Remarks
Java documentation for android.app.appsearch.GenericDocument.getProperty(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.