A Sandcastle Documented Class Library
URLHistory クラス
名前空間CFW.AspxCommonURLHistory
URL履歴操作クラス
宣言の構文
C#Visual BasicVisual C++
public class URLHistory
Public Class URLHistory
public ref class URLHistory
メンバ
すべてのメンバコンストラクタメソッド



メンバ説明
URLHistory()()()
コンストラクタ

GetPreviousPage()()()
直前ページのURL取得

SetCurrentPage(String, Boolean)
現在位置の設定

使用例
CopyC#
//page on_load
   URLHistory urlHistory = (URLHistory)Session("URLHistory");
   if(Request["backed"] != "")
       urlHistry.Put(this.Request.ApplicationPath,false);
   else
       urlHistry.Put(this.Request.ApplicationPath,true);

   HyperLink backLink = new HyperLink();
   backLink.NavigateURL = urlHistory.GetPreviousPage();
継承階層
Object
URLHistory

アセンブリ: CFW.common.AspxCommon (モジュール: CFW.common.AspxCommon) バージョン: 1.2.0.1 (1.2.0.1)