語言

TemplateBaseAttribute.ChoiceFormat 屬性

定義

格式字串用於呈現每個選擇,顯示 \ref 模式字串中的 {||} 選項。

public string ChoiceFormat { get; set; }
member this.ChoiceFormat : string with get, set
Public Property ChoiceFormat As String

屬性值

備註

選擇格式傳遞兩個參數, {0} 為選擇的編號, {1} 為欄位名稱。

適用於