語言

Form.Title 屬性

定義

取得或設定指定表單的標題。 預設值是空的 string。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

public:
 property System::String ^ Title { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
public string Title { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Title : string with get, set
Public Property Title As String

屬性值

標題可以作為表單的一部分呈現,適用於支援與頁面內容分開標題的裝置(例如,在瀏覽器標題列中使用 HTML 標題標籤時)。

屬性

備註

對於支援標題與頁面內容分開的裝置,你可以將標題渲染成表單的一部分。

適用於

另請參閱