SrgsItem.MinRepeat 属性

定义

获取用户必须说出 SrgsItem 内容的最小次数。Gets the minimum number of times that a user must speak the contents of the SrgsItem.

public:
 property int MinRepeat { int get(); };
public int MinRepeat { get; }
member this.MinRepeat : int
Public ReadOnly Property MinRepeat As Integer

属性值

Int32

用户可以说出该项内容的最小次数。The minimum number of times that a user can speak the contents of the item.

注解

若要设置此属性,请使用 SetRepeat 方法。To set this property, use the SetRepeat method.

此属性表示万维网联合会的部分 repeat 属性 (W3C) 语音识别语法规范 (SRGS) 。This property represents a portion of the repeat attribute of the World Wide Web Consortium (W3C) Speech Recognition Grammar Specification (SRGS).

适用于