ScriptManager.AddHistoryPoint Método

Definição

Cria um ponto histórico e o adiciona à pilha histórica do navegador.Creates a history point and adds it to the browser's history stack.

Sobrecargas

AddHistoryPoint(NameValueCollection, String)

Cria um ponto histórico e o adiciona à pilha de histórico do navegador, usando a coleta de dados de estado e o título do estado especificados.Creates a history point and adds it to the browser's history stack, using the specified state data collection and state title.

AddHistoryPoint(String, String)

Cria um ponto histórico e o adiciona à pilha histórica do navegador, usando a chave e o valor de estado especificados.Creates a history point and adds it to the browser's history stack, using the specified state key and state value.

AddHistoryPoint(String, String, String)

Cria um ponto histórico e o adiciona à pilha de histórico do navegador, usando a chave, o valor e o título de estado especificados.Creates a history point and adds it to the browser's history stack, using the specified state key, state value, and state title.

Comentários

Essas sobrecargas de método permitem definir o estado do servidor e, opcionalmente, o título da entrada do histórico no navegador.These method overloads enable you to define server state, and optionally the title of the history entry in the browser. Quando você cria um ponto de histórico, os dados serializados e criptografados são anexados à URL da página da Web e uma entrada é incluída na pilha de histórico do navegador.When you create a history point, serialized and encrypted data is appended to the URL of the Web page and an entry is included in the browser's history stack. Você pode usar os dados de estado para recriar a página quando qualquer evento de navegação subsequente do servidor for gerado.You can use the state data to re-create the page when any subsequent server navigation event is raised. Para obter mais informações, consulte Gerenciando o histórico do navegador usando controles de servidor.For more information, see Managing Browser History Using Server Controls.

AddHistoryPoint(NameValueCollection, String)

Cria um ponto histórico e o adiciona à pilha de histórico do navegador, usando a coleta de dados de estado e o título do estado especificados.Creates a history point and adds it to the browser's history stack, using the specified state data collection and state title.

public:
 void AddHistoryPoint(System::Collections::Specialized::NameValueCollection ^ state, System::String ^ title);
public void AddHistoryPoint (System.Collections.Specialized.NameValueCollection state, string title);
member this.AddHistoryPoint : System.Collections.Specialized.NameValueCollection * string -> unit
Public Sub AddHistoryPoint (state As NameValueCollection, title As String)

Parâmetros

state
NameValueCollection

Uma coleção de pares chave-valor que contêm os dados do estado.A collection of key/value pairs that contain the data for the state.

title
String

O texto que será adicionado à pilha de histórico do navegador como o título desse estado.The text that will be added to the browser's history stack as the title for this state.

Comentários

Use esse método para criar um ponto de histórico quando desejar salvar mais de um par de chave/valor para os dados de estado.Use this method to create a history point when you want to save more than one key/value pair for the state data. Quando você cria um ponto de histórico, os dados serializados e criptografados são anexados à URL da página da Web e uma entrada é incluída na pilha de histórico do navegador.When you create a history point, serialized and encrypted data is appended to the URL of the Web page and an entry is included in the browser's history stack. Se o title parâmetro for null , o título da página da Web será usado como o título da entrada de estado na pilha de histórico.If the title parameter is null, the title of the Web page is used as the title of the state entry in the history stack.

Você pode usar os dados de estado para recriar a página quando qualquer evento de navegação subsequente do servidor for gerado.You can use the state data to re-create the page when any subsequent server navigation event is raised. Para obter mais informações, consulte Gerenciando o histórico do navegador usando controles de servidor.For more information, see Managing Browser History Using Server Controls.

Aplica-se a

AddHistoryPoint(String, String)

Cria um ponto histórico e o adiciona à pilha histórica do navegador, usando a chave e o valor de estado especificados.Creates a history point and adds it to the browser's history stack, using the specified state key and state value.

public:
 void AddHistoryPoint(System::String ^ key, System::String ^ value);
public void AddHistoryPoint (string key, string value);
member this.AddHistoryPoint : string * string -> unit
Public Sub AddHistoryPoint (key As String, value As String)

Parâmetros

key
String

A parte chave do par chave-valor que identifica o estado da página da Web.The key part of the key/value pair that identifies the state of the Web page.

value
String

A parte valor do par chave-valor que identifica o estado da página da Web.The value part of the key/value pair that identifies the state of the Web page.

Comentários

Use esse método para criar um ponto de histórico quando você quiser salvar um valor para identificar o estado.Use this method to create a history point when you only want to save a value to identify the state. Quando você cria um ponto de histórico, os dados serializados e criptografados são anexados à URL da página da Web e uma entrada é incluída na pilha de histórico do navegador.When you create a history point, serialized and encrypted data is appended to the URL of the Web page and an entry is included in the browser's history stack. O título da página da Web é usado como o título da entrada de estado na pilha de histórico.The title of the Web page is used as the title of the state entry in the history stack.

Você pode usar os dados de estado para recriar a página quando qualquer evento de navegação subsequente do servidor for gerado.You can use the state data to re-create the page when any subsequent server navigation event is raised. Para obter mais informações, consulte Gerenciando o histórico do navegador usando controles de servidor.For more information, see Managing Browser History Using Server Controls.

Aplica-se a

AddHistoryPoint(String, String, String)

Cria um ponto histórico e o adiciona à pilha de histórico do navegador, usando a chave, o valor e o título de estado especificados.Creates a history point and adds it to the browser's history stack, using the specified state key, state value, and state title.

public:
 void AddHistoryPoint(System::String ^ key, System::String ^ value, System::String ^ title);
public void AddHistoryPoint (string key, string value, string title);
member this.AddHistoryPoint : string * string * string -> unit
Public Sub AddHistoryPoint (key As String, value As String, title As String)

Parâmetros

key
String

A parte chave do par chave-valor que identifica o estado da página da Web.The key part of the key/value pair that identifies the state of the Web page.

value
String

A parte valor do par chave-valor que identifica o estado da página da Web.The value part of the key/value pair that identifies the state of the Web page.

title
String

O texto que será adicionado à pilha de histórico do navegador como o título desse estado.The text that will be added to the browser's history stack as the title for this state.

Comentários

Use esse método para criar um ponto de histórico quando desejar salvar um valor para identificar o estado e um título para o estado.Use this method to create a history point when you want to save a value to identify the state and a title for the state. Quando você cria um ponto de histórico, os dados serializados e criptografados são anexados à URL da página da Web e uma entrada é incluída na pilha de histórico do navegador.When you create a history point, serialized and encrypted data is appended to the URL of the Web page and an entry is included in the browser's history stack. Se o title parâmetro for null , o título da página da Web será usado como o título da entrada de estado na pilha de histórico.If the title parameter is null, the title of the Web page is used as the title of the state entry in the history stack.

Você pode usar os dados de estado para recriar a página quando qualquer evento de navegação subsequente do servidor for gerado.You can use the state data to re-create the page when any subsequent server navigation event is raised. Para obter mais informações, consulte Gerenciando o histórico do navegador usando controles de servidor.For more information, see Managing Browser History Using Server Controls.

Aplica-se a