ModelMetadata.HtmlEncode Property

Definition

Gets a value indicating whether the value should be HTML-encoded.

public:
 abstract property bool HtmlEncode { bool get(); };
public abstract bool HtmlEncode { get; }
member this.HtmlEncode : bool
Public MustOverride ReadOnly Property HtmlEncode As Boolean

Property Value

If true, value should be HTML-encoded. Default is true.

Applies to