TemplateBaseAttribute.Pattern 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
產生字 IPrompt<T>串時應使用的模式。
public string Pattern();
member this.Pattern : unit -> string
Public Function Pattern () As String
傳回
要用的圖案。
備註
若指定多個模式,則每次呼叫此函式都會回傳一個隨機模式。