TemplateBaseAttribute.Pattern Method

Definition

The pattern to use when generating a string using IPrompt<T>.

public string Pattern ();
member this.Pattern : unit -> string
Public Function Pattern () As String

Returns

Pattern to use.

Remarks

If multiple patterns were specified, then each call to this function will return a random pattern.

Applies to