Field<T>.SetPattern(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Regular expression for validating strings.
public Microsoft.Bot.Builder.FormFlow.Advanced.Field<T> SetPattern (string pattern);
member this.SetPattern : string -> Microsoft.Bot.Builder.FormFlow.Advanced.Field<'T (requires 'T : null)>
Public Function SetPattern (pattern As String) As Field(Of T)
Parameters
- pattern
- String
Validation regular expression.
Returns
A Field<T>.