Class NSFieldInfoLongText
Long Text custom database field.
Syntax
Constructors
NSFieldInfoLongText()
Initializes a new instance of the NSFieldInfoLongText class.
Declaration
NSFieldInfoLongText
Methods
GetChoices()
Long Text custom database field.
Declaration
String[] GetChoices()
Returns
Type | Description |
---|---|
String[] | List of items to choose from. Null = not a dropdown list. |
GetDefaultValue()
Long Text custom database field.
Declaration
String GetDefaultValue()
Returns
Type | Description |
---|---|
String | Default string value. |
Examples
NSFieldInfoLongText thing;
String defaultValue = thing.GetDefaultValue();
GetIsHtml()
Long Text custom database field.
Declaration
Bool GetIsHtml()
Returns
Type | Description |
---|---|
Bool | Do not escape HTML in field when displaying contents. |
Examples
NSFieldInfoLongText thing;
Bool isHtml = thing.GetIsHtml();
GetNumRows()
Long Text custom database field.
Declaration
Integer GetNumRows()
Returns
Type | Description |
---|---|
Integer | Number of lines of text to show. Text area height. |
Examples
NSFieldInfoLongText thing;
Integer numRows = thing.GetNumRows();
GetUseTextArea()
Long Text custom database field.
Declaration
Bool GetUseTextArea()
Returns
Type | Description |
---|---|
Bool | Use a multi-line text area? |
Examples
NSFieldInfoLongText thing;
Bool useTextArea = thing.GetUseTextArea();
SetChoices(String[])
Long Text custom database field.
Declaration
Void SetChoices(String[] choices)
Parameters
Type | Name | Description |
---|---|---|
String[] | choices | List of items to choose from. Null = not a dropdown list. |
Returns
Type | Description |
---|---|
Void |
SetDefaultValue(String)
Long Text custom database field.
Declaration
Void SetDefaultValue(String defaultValue)
Parameters
Type | Name | Description |
---|---|---|
String | defaultValue | Default string value. |
Returns
Type | Description |
---|---|
Void |
Examples
NSFieldInfoLongText thing;
String defaultValue;
thing.SetDefaultValue(defaultValue);
SetIsHtml(Bool)
Long Text custom database field.
Declaration
Void SetIsHtml(Bool isHtml)
Parameters
Type | Name | Description |
---|---|---|
Bool | isHtml | Do not escape HTML in field when displaying contents. |
Returns
Type | Description |
---|---|
Void |
Examples
NSFieldInfoLongText thing;
Bool isHtml;
thing.SetIsHtml(isHtml);
SetNumRows(Integer)
Long Text custom database field.
Declaration
Void SetNumRows(Integer numRows)
Parameters
Type | Name | Description |
---|---|---|
Integer | numRows | Number of lines of text to show. Text area height. |
Returns
Type | Description |
---|---|
Void |
Examples
NSFieldInfoLongText thing;
Integer numRows;
thing.SetNumRows(numRows);
SetUseTextArea(Bool)
Long Text custom database field.
Declaration
Void SetUseTextArea(Bool useTextArea)
Parameters
Type | Name | Description |
---|---|---|
Bool | useTextArea | Use a multi-line text area? |
Returns
Type | Description |
---|---|
Void |
Examples
NSFieldInfoLongText thing;
Bool useTextArea;
thing.SetUseTextArea(useTextArea);