语言

TemplateBaseAttribute.ChoiceFormat 属性

定义

格式字符串用于在 \ref模式字符串中展示{||}选项时呈现每个选择。

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

属性值

注解

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

适用于