TemplateBaseAttribute.ChoiceFormat 属性

定义

在 \ref 模式字符串中显示 {||} 选项时,用于显示每个选项的格式字符串。

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

属性值

注解

选择格式传递两个参数, {0} 是选择的编号, {1} 是字段名称。

适用于