Freigeben über


Driver.SetProperty(String, Object) Method

Definition

Set the value of a property.

[Android.Runtime.Register("setProperty", "(Ljava/lang/String;Ljava/lang/Object;)V", "GetSetProperty_Ljava_lang_String_Ljava_lang_Object_Handler")]
public virtual void SetProperty (string? name, Java.Lang.Object? value);
[<Android.Runtime.Register("setProperty", "(Ljava/lang/String;Ljava/lang/Object;)V", "GetSetProperty_Ljava_lang_String_Ljava_lang_Object_Handler")>]
abstract member SetProperty : string * Java.Lang.Object -> unit
override this.SetProperty : string * Java.Lang.Object -> unit

Parameters

name
String

The property name, which is a fully-qualified URI.

value
Object

The requested value for the property.

Implements

Attributes

Exceptions

Remarks

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