Sets a regular expression as an additional pattern of a desired field type. This can be useful if the user has a specific pattern that he/she considers belonging to a certain field type.
Syntax
'Declaration
<System.Diagnostics.DebuggerStepThroughAttribute()>
<System.Diagnostics.DebuggerNonUserCodeAttribute()>
Public Sub SetFieldRegularExpression( _
ByVal As FieldType, _
ByVal As System.String _
)
'Usage
Dim instance As Reader
Dim field As FieldType
Dim regularExpression As System.String
instance.SetFieldRegularExpression(field, regularExpression)
[System.Diagnostics.DebuggerStepThrough()]
[System.Diagnostics.DebuggerNonUserCode()]
public void SetFieldRegularExpression(
FieldType ,
System.string
)
public procedure SetFieldRegularExpression(
: FieldType;
: System.String
);
System.Diagnostics.DebuggerStepThroughAttribute()
System.Diagnostics.DebuggerNonUserCodeAttribute()
public function SetFieldRegularExpression(
: FieldType,
: System.String
);
[System.Diagnostics.DebuggerStepThrough()]
[System.Diagnostics.DebuggerNonUserCode()]
public: void SetFieldRegularExpression(
FieldType ,
System.string*
)
[System.Diagnostics.DebuggerStepThrough()]
[System.Diagnostics.DebuggerNonUserCode()]
public:
void SetFieldRegularExpression(
FieldType ,
System.String^
)
Parameters
- field
- Field type to associate the regular expression to
- regularExpression
- Regular expression string
See Also