Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BoundField.SupportsHtmlEncode Property

Note: This property is new in the .NET Framework version 2.0.

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 virtual bool SupportsHtmlEncode { get; }
/** @property */
protected boolean get_SupportsHtmlEncode ()

protected function get SupportsHtmlEncode () : boolean

Property Value

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.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0

Community Additions

© 2015 Microsoft