HttpSessionState.CodePage 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定目前會話的字元集識別碼。
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 屬性。