ActionBar.Tab.SetText Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetText(ICharSequence) |
Obsolete.
Set the text displayed on this tab. |
SetText(Int32) |
Obsolete.
Set the text displayed on this tab. |
SetText(String) |
Obsolete.
|
SetText(ICharSequence)
Caution
deprecated
Set the text displayed on this tab.
[Android.Runtime.Register("setText", "(Ljava/lang/CharSequence;)Landroid/app/ActionBar$Tab;", "GetSetText_Ljava_lang_CharSequence_Handler")]
[System.Obsolete("deprecated")]
public abstract Android.App.ActionBar.Tab SetText (Java.Lang.ICharSequence text);
[<Android.Runtime.Register("setText", "(Ljava/lang/CharSequence;)Landroid/app/ActionBar$Tab;", "GetSetText_Ljava_lang_CharSequence_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member SetText : Java.Lang.ICharSequence -> Android.App.ActionBar.Tab
Parameters
- text
- ICharSequence
The text to display
Returns
- Attributes
Remarks
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
SetText(Int32)
Caution
deprecated
Set the text displayed on this tab.
[Android.Runtime.Register("setText", "(I)Landroid/app/ActionBar$Tab;", "GetSetText_IHandler")]
[System.Obsolete("deprecated")]
public abstract Android.App.ActionBar.Tab SetText (int resId);
[<Android.Runtime.Register("setText", "(I)Landroid/app/ActionBar$Tab;", "GetSetText_IHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetText : int -> Android.App.ActionBar.Tab
Parameters
- resId
- Int32
A resource ID referring to the text that should be displayed
Returns
- Attributes
Remarks
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
SetText(String)
Caution
deprecated
[System.Obsolete("deprecated")]
public Android.App.ActionBar.Tab SetText (string text);
[<System.Obsolete("deprecated")>]
member this.SetText : string -> Android.App.ActionBar.Tab
Parameters
- text
- String
Returns
- Attributes
Remarks
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.