CheckBoxField.HtmlEncodeFormatString プロパティ

定義

書式設定されたテキストを表示する前に、そのテキストを HTML エンコードするかどうかを示す値を取得または設定します。

public:
 virtual property bool HtmlEncodeFormatString { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public override bool HtmlEncodeFormatString { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.HtmlEncodeFormatString : bool with get, set
Public Overrides Property HtmlEncodeFormatString As Boolean

プロパティ値

テキストを HTML エンコードする場合は true。それ以外の場合は false。 既定値は、true です。

属性

注釈

HTML エンコード値は、クロスサイト スクリプティング攻撃や悪意のあるコンテンツが表示されるのを防ぐのに役立ちます。

適用対象