TemplateBaseAttribute.Pattern 方法

定义

使用 IPrompt<T>生成字符串时要使用的模式。

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

返回

要使用的模式。

注解

如果指定了多个模式,则对此函数的每次调用都将返回一个随机模式。

适用于