Share via


DefaultModelMetadata.HtmlEncode Property

Definition

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

public:
 virtual property bool HtmlEncode { bool get(); };
public override bool HtmlEncode { get; }
member this.HtmlEncode : bool
Public Overrides ReadOnly Property HtmlEncode As Boolean

Property Value

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

Applies to