Accusoft.FSInvoices1.Net - Updated
FormFieldDefinition Constructor(String,Boolean,Boolean,List<FieldAlias>,FormFieldDataType,FormFieldGroup,IEnumerable<RuleDefinition>)




Accusoft.FSInvoices Namespace > FormFieldDefinition Class > FormFieldDefinition Constructor : FormFieldDefinition Constructor(String,Boolean,Boolean,List<FieldAlias>,FormFieldDataType,FormFieldGroup,IEnumerable<RuleDefinition>)
Name of the field.
Flag that defines whether the field will be output in FormResult.Fields.
Flag that defines whether the field is required.
Expected aliases for the field.
Type of data the field is expected to contain.
Group to which the field belongs.
Rules to be applied to the field.
Initializes a new instance of the FormFieldDefinition class with provided attributes.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal isOutput As Boolean, _
   ByVal isRequired As Boolean, _
   ByVal aliases As List(Of FieldAlias), _
   ByVal fieldType As FormFieldDataType, _
   ByVal group As FormFieldGroup, _
   ByVal fieldRules As IEnumerable(Of RuleDefinition) _
)
'Usage
 
Dim name As String
Dim isOutput As Boolean
Dim isRequired As Boolean
Dim aliases As List(Of FieldAlias)
Dim fieldType As FormFieldDataType
Dim group As FormFieldGroup
Dim fieldRules As IEnumerable(Of RuleDefinition)
 
Dim instance As New FormFieldDefinition(name, isOutput, isRequired, aliases, fieldType, group, fieldRules)

Parameters

name
Name of the field.
isOutput
Flag that defines whether the field will be output in FormResult.Fields.
isRequired
Flag that defines whether the field is required.
aliases
Expected aliases for the field.
fieldType
Type of data the field is expected to contain.
group
Group to which the field belongs.
fieldRules
Rules to be applied to the field.
See Also

Reference

FormFieldDefinition Class
FormFieldDefinition Members
Overload List