HttpRuntimeSection.EncoderType プロパティ

定義

HTML および URL エンコードの処理に使用できるカスタム型の名前を取得または設定します。

public:
 property System::String ^ EncoderType { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("encoderType", DefaultValue="System.Web.Util.HttpEncoder")]
[System.Configuration.StringValidator(MinLength=1)]
public string EncoderType { get; set; }
[<System.Configuration.ConfigurationProperty("encoderType", DefaultValue="System.Web.Util.HttpEncoder")>]
[<System.Configuration.StringValidator(MinLength=1)>]
member this.EncoderType : string with get, set
Public Property EncoderType As String

プロパティ値

HTML および URL エンコードの処理に使用できる型の名前。

属性

注釈

ASP.NET は、HTML および URL エンコード タスクの既定のハンドラーとして HttpEncoder 型を使用します。

エンコード動作をカスタマイズするには、 HttpEncoder 型から継承するクラスを作成します。 アプリケーションの構成ファイルで、EncoderType要素のhttpRuntime属性をカスタム型の完全修飾文字列名に設定します。 詳細については、「 httpRuntime 要素 (ASP.NET 設定スキーマ)」を参照してください。

適用対象