ViewStructure.SetContentDescription 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| SetContentDescription(ICharSequence) |
設定視圖的內容描述,依照 |
| SetContentDescription(String) |
設定視圖的內容描述,依照 |
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 所創建與分享的作品,並依授權條款所描述的使用進行修改。