語言

ViewStructure.SetContentDescription 方法

定義

多載

名稱 Description
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

Java。Lang.ICharSequence 值用於內容描述。

屬性

備註

設定視圖的內容描述,依照 View#getContentDescription View.getContentDescription()。

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

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

SetContentDescription(String)

設定視圖的內容描述,依照 View#getContentDescription View.getContentDescription()。

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

參數

contentDescription
String

用於內容描述的 System.String 值。

備註

設定視圖的內容描述,依照 View#getContentDescription View.getContentDescription()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於