Page.CodePage Property

Definition

Sets the code page identifier for the current Page.

protected:
 property int CodePage {  void set(int value); };
public:
 property int CodePage { int get(); void set(int value); };
protected int CodePage { set; }
[System.ComponentModel.Browsable(false)]
public int CodePage { get; set; }
member this.CodePage : int
[<System.ComponentModel.Browsable(false)>]
member this.CodePage : int with get, set
Protected Property CodePage As Integer
Public Property CodePage As Integer

Property Value

An integer that represents the code page identifier for the current Page.

Attributes

Remarks

In most circumstances, do not set this property in code. Set the CodePage attribute to the value you want using the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets the property.

Applies to

See also