Sdílet prostřednictvím


ContentValues.GetAsString(String) Method

Definition

Gets a value and converts it to a String.

[Android.Runtime.Register("getAsString", "(Ljava/lang/String;)Ljava/lang/String;", "")]
public string? GetAsString (string? key);
[<Android.Runtime.Register("getAsString", "(Ljava/lang/String;)Ljava/lang/String;", "")>]
member this.GetAsString : string -> string

Parameters

key
String

the value to get

Returns

the String for the value

Attributes

Remarks

Gets a value and converts it to a String.

Java documentation for android.content.ContentValues.getAsString(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