CreateField |
Scroll |
Create a new field in the case definition.
Namespace: Therefore.API
Visual Basic Public Overridable Function CreateField ( _ nType As Integer, _ strName As String, _ nBelongsTo As Integer, _ nParentFieldNo As Integer, _ pServer As ITheServer _ ) As ITheCategoryField C# public virtual ITheCategoryField CreateField ( int nType, string strName, int nBelongsTo, int nParentFieldNo, ITheServer pServer )
Parameters nType The field type of the field. For standard types this can be taken from the TheCategoryField enumeration.
strName The name of the new category field. This will be used as Caption and ColName if applicable.
nBelongsTo The field number of the primary field for referenced table fields. Default value 0.
nParentFieldNo The field number of the table field containing the newly created field. Default value 0.
pServer A valid and connected TheServer object.
Return Value None. |