語言

TemplateBaseAttribute.Pattern 方法

定義

產生字 IPrompt<T>串時應使用的模式。

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

傳回

要用的圖案。

備註

若指定多個模式,則每次呼叫此函式都會回傳一個隨機模式。

適用於