Accusoft.Forms1 - Updated
GetFieldRegularExpression Method (Reader)



Accusoft.SmartZoneOCRSdk Namespace > Reader Class : GetFieldRegularExpression Method
Specify the field type to get associated regualar expression value
Gets the regular expression string that was previously set by SetFieldRegularExpression.
Syntax
<DebuggerNonUserCodeAttribute()>
<DebuggerStepThroughAttribute()>
Public Function GetFieldRegularExpression( _
   ByVal field As FieldType _
) As String
Dim instance As Reader
Dim field As FieldType
Dim value As String
 
value = instance.GetFieldRegularExpression(field)
[DebuggerNonUserCode()]
[DebuggerStepThrough()]
public string GetFieldRegularExpression( 
   FieldType field
)
[DebuggerNonUserCode()]
[DebuggerStepThrough()]
public:
String^ GetFieldRegularExpression( 
   FieldType field
) 

Parameters

field
Specify the field type to get associated regualar expression value

Return Value

The current regular expression string associated with the given field type.
Remarks
FieldType.GeneralText, FieldType.Unknown and FieldType.DataValidationList are not valid as input field types for this method.
See Also

Reference

Reader Class
Reader Members
SetFieldRegularExpression Method
ClearFieldRegularExpression Method