InputScope.RegularExpression 属性

定义

获取或设置要由输入处理器用作推荐文本输入模式的正则表达式。Gets or sets a regular expression to be used as a suggested text input pattern by input processors.

public:
 property System::String ^ RegularExpression { System::String ^ get(); void set(System::String ^ value); };
public string RegularExpression { get; set; }
member this.RegularExpression : string with get, set
Public Property RegularExpression As String

属性值

String

一个字符串,用于定义要由输入处理器用作推荐文本输入模式的正则表达式。A string that defines a regular expression to be used as a suggested text input pattern by input processors.

此属性没有默认值。This property has no default value.

例外

当尝试将此属性设置为 null 时引发。Raised when an attempt is made to set this property to null.

适用于