Sprache

AccessibilityNodeInfo.StructuredDataInfo.PutAttribute(String, String) Method

Definition

Adds an attribute.

[Android.Runtime.Register("putAttribute", "(Ljava/lang/String;Ljava/lang/String;)V", "GetPutAttribute_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=37)]
public virtual void PutAttribute(string attributeKey, string value);
[<Android.Runtime.Register("putAttribute", "(Ljava/lang/String;Ljava/lang/String;)V", "GetPutAttribute_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=37)>]
abstract member PutAttribute : string * string -> unit
override this.PutAttribute : string * string -> unit

Parameters

attributeKey
String

The attribute key.

value
String

The attribute value.

Attributes

Remarks

Adds an attribute.

Android reference for android.view.accessibility.AccessibilityNodeInfo.StructuredDataInfo.putAttribute.

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