共用方式為


TemplateBaseAttribute.ChoiceFormat 屬性

定義

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

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

屬性值

備註

選擇格式會傳遞兩個引數, {0} 這是選擇的數目,而且 {1} 是功能變數名稱。

適用於