Share via


ViewStructure.SetClassName(String) Method

Definition

Set the class name of the view, as per View#getAccessibilityClassName View.getAccessibilityClassName().

[Android.Runtime.Register("setClassName", "(Ljava/lang/String;)V", "GetSetClassName_Ljava_lang_String_Handler", ApiSince=23)]
public abstract void SetClassName (string? className);
[<Android.Runtime.Register("setClassName", "(Ljava/lang/String;)V", "GetSetClassName_Ljava_lang_String_Handler", ApiSince=23)>]
abstract member SetClassName : string -> unit

Parameters

className
String
Attributes

Remarks

Set the class name of the view, as per View#getAccessibilityClassName View.getAccessibilityClassName().

Java documentation for android.view.ViewStructure.setClassName(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