ViewStructure.SetContentDescription 方法

定义

重载

名称 说明
SetContentDescription(ICharSequence)

按以下方式 View#getContentDescription View.getContentDescription()设置视图的内容说明。

SetContentDescription(String)

按以下方式 View#getContentDescription View.getContentDescription()设置视图的内容说明。

SetContentDescription(ICharSequence)

按以下方式 View#getContentDescription View.getContentDescription()设置视图的内容说明。

[Android.Runtime.Register("setContentDescription", "(Ljava/lang/CharSequence;)V", "GetSetContentDescription_Ljava_lang_CharSequence_Handler", ApiSince=23)]
public abstract void SetContentDescription(Java.Lang.ICharSequence? contentDescription);
[<Android.Runtime.Register("setContentDescription", "(Ljava/lang/CharSequence;)V", "GetSetContentDescription_Ljava_lang_CharSequence_Handler", ApiSince=23)>]
abstract member SetContentDescription : Java.Lang.ICharSequence -> unit

参数

contentDescription
ICharSequence
属性

注解

按以下方式 View#getContentDescription View.getContentDescription()设置视图的内容说明。

Java文档android.view.ViewStructure.setContentDescription(java.lang.CharSequence)

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

SetContentDescription(String)

按以下方式 View#getContentDescription View.getContentDescription()设置视图的内容说明。

public void SetContentDescription(string? contentDescription);
member this.SetContentDescription : string -> unit

参数

contentDescription
String

注解

按以下方式 View#getContentDescription View.getContentDescription()设置视图的内容说明。

Java文档android.view.ViewStructure.setContentDescription(java.lang.CharSequence)

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于