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)

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
Available since 2.0
Return to top
Show: