语言

Window.SetTitle 方法

定义

重载

名称 说明
SetTitle(ICharSequence)

设置窗口面向用户的标题。

SetTitle(String)

设置窗口面向用户的标题。

SetTitle(ICharSequence)

设置窗口面向用户的标题。

[Android.Runtime.Register("setTitle", "(Ljava/lang/CharSequence;)V", "GetSetTitle_Ljava_lang_CharSequence_Handler")]
public abstract void SetTitle(Java.Lang.ICharSequence? title);
[<Android.Runtime.Register("setTitle", "(Ljava/lang/CharSequence;)V", "GetSetTitle_Ljava_lang_CharSequence_Handler")>]
abstract member SetTitle : Java.Lang.ICharSequence -> unit

参数

title
ICharSequence

Java。用于游戏的 Lang.ICharSequence 值。

属性

注解

设置窗口面向用户的标题。

如果 #requestFeature requested features 提供此类栏,此标题可能会向用户显示在窗口的标题或操作栏中。 它也通过公开 android.view.accessibility.AccessibilityWindowInfo#getTitle。

Java文档android.view.Window.setTitle(java.lang.CharSequence)。

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

适用于

SetTitle(String)

设置窗口面向用户的标题。

public void SetTitle(string? title);
member this.SetTitle : string -> unit

参数

title
String

用于游戏的 System.String 值。

注解

设置窗口面向用户的标题。

如果 #requestFeature requested features 提供此类栏,此标题可能会向用户显示在窗口的标题或操作栏中。 它也通过公开 android.view.accessibility.AccessibilityWindowInfo#getTitle。

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

适用于