Export (0) Print
Expand All

BoundField.SupportsHtmlEncode Property

Gets a value indicating whether HTML encoding is supported by a BoundField object.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

'Declaration
Protected Overridable ReadOnly Property SupportsHtmlEncode As Boolean

Property Value

Type: System.Boolean
Always returns true to indicate that HTML encoding is supported by a BoundField.

The SupportsHtmlEncode property is a helper property used by the BoundField class and derived classes to determine whether HTML encoding is supported by the class.

Notes to Inheritors

When deriving from the BoundField class, you can override this property to indicate whether HTML encoding is supported by the class.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft