Share via


Field<T>.SetPattern(String) Method

Definition

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>.

Applies to