共用方式為


AbstractPreferences.PutByteArray(String, Byte[]) Method

Definition

Implements the putByteArray method as per the specification in Preferences#putByteArray(String,byte[]).

[Android.Runtime.Register("putByteArray", "(Ljava/lang/String;[B)V", "GetPutByteArray_Ljava_lang_String_arrayBHandler")]
public override void PutByteArray (string? key, byte[]? value);
[<Android.Runtime.Register("putByteArray", "(Ljava/lang/String;[B)V", "GetPutByteArray_Ljava_lang_String_arrayBHandler")>]
override this.PutByteArray : string * byte[] -> unit

Parameters

key
String

key with which the string form of value is to be associated.

value
Byte[]

value whose string form is to be associated with key.

Attributes

Remarks

Implements the putByteArray method as per the specification in Preferences#putByteArray(String,byte[]).

Java documentation for java.util.prefs.AbstractPreferences.putByteArray(java.lang.String, byte[]).

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