MetaColumn.IsLongString Property


Gets a value that indicates whether the data field type can contain long strings.

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public bool IsLongString { get; }

Property Value

Type: System.Boolean

true if the data field type can contain long strings; otherwise, false.

The SQL types text, ntext, varchar, and nvarchar can contain long strings. The value of the IsLongString property is used to determine whether the TextBox or TextArea field template is displayed to enable users to modify the field value.

.NET Framework
Available since 3.5
Return to top