Page.Title Propriedade

Definição

Obtém ou define o título para a página.Gets or sets the title for the page.

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

Valor da propriedade

String

O título da página.The title of the page.

Atributos

Exceções

A propriedade Title exige um controle de cabeçalho na página.The Title property requires a header control on the page.

Comentários

Use a Title propriedade para definir o título da página no cabeçalho HTML enviado ao navegador solicitante.Use the Title property to set the page title in the HTML header sent to the requesting browser.

Observação

A página deve conter um head elemento que tenha o atributo runat="server" , caso contrário, o título não será renderizado.The page must contain a head element that has the attribute runat="server", otherwise the title will not render.

Aplica-se a

Confira também