共用方式為


HttpSessionState.CodePage 屬性

定義

取得或設定目前會話的字元集識別碼。

public:
 property int CodePage { int get(); void set(int value); };
public int CodePage { get; set; }
member this.CodePage : int with get, set
Public Property CodePage As Integer

屬性值

目前會話的字元集識別碼。

備註

字元集(代碼頁)用於解讀多位元組字元資料,決定字元值,進而決定排序順序。 代碼頁設定僅適用於多位元組字元資料,不適用於 Unicode 字元資料。

CodePage 特性僅用於與早期版本的 ASP 相容性。 如果你不需要維持與 ASP 頁面的向下相容,請改用該 ContentEncoding 屬性。

適用於

另請參閱