Udostępnij za pośrednictwem


IMenuItem.SetContentDescription Method

Definition

Overloads

SetContentDescription(ICharSequence)

Change the content description associated with this menu item.

SetContentDescription(String)

Change the content description associated with this menu item.

SetContentDescription(ICharSequence)

Change the content description associated with this menu item.

[Android.Runtime.Register("setContentDescription", "(Ljava/lang/CharSequence;)Landroid/view/MenuItem;", "GetSetContentDescription_Ljava_lang_CharSequence_Handler:Android.Views.IMenuItem, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public virtual Android.Views.IMenuItem SetContentDescription (Java.Lang.ICharSequence? contentDescription);
[<Android.Runtime.Register("setContentDescription", "(Ljava/lang/CharSequence;)Landroid/view/MenuItem;", "GetSetContentDescription_Ljava_lang_CharSequence_Handler:Android.Views.IMenuItem, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member SetContentDescription : Java.Lang.ICharSequence -> Android.Views.IMenuItem
override this.SetContentDescription : Java.Lang.ICharSequence -> Android.Views.IMenuItem

Parameters

contentDescription
ICharSequence

The new content description.

Returns

Attributes

Remarks

Change the content description associated with this menu item.

Java documentation for android.view.MenuItem.setContentDescription(java.lang.CharSequence).

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

SetContentDescription(String)

Change the content description associated with this menu item.

public virtual Android.Views.IMenuItem SetContentDescription (string? contentDescription);
abstract member SetContentDescription : string -> Android.Views.IMenuItem
override this.SetContentDescription : string -> Android.Views.IMenuItem

Parameters

contentDescription
String

The new content description.

Returns

Remarks

Change the content description associated with this menu item.

Java documentation for android.view.MenuItem.setContentDescription(java.lang.CharSequence).

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