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

屬性值

Int32

目前工作階段的字元集識別項。

備註

字元集 (字碼頁) 用來解譯多位元組字元資料、判斷字元值,以及排序次序。 字碼頁設定僅適用于多位元組字元資料,不適用於 Unicode 字元資料。

此屬性 CodePage 僅供與舊版 ASP 相容。 如果您不需要維持與 ASP 頁面的回溯相容性,請 ContentEncoding 改用 屬性。

適用於

另請參閱