InputScope 类

定义

表示与输入法提供的数据范围相关的信息。Represents information related to the scope of data provided by an input method.

public ref class InputScope
[System.ComponentModel.TypeConverter("System.Windows.Input.InputScopeConverter, PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null")]
public class InputScope
public class InputScope
[System.ComponentModel.TypeConverter("System.Windows.Input.InputScopeConverter, PresentationCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null")]
public class InputScope
[<System.ComponentModel.TypeConverter("System.Windows.Input.InputScopeConverter, PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null")>]
type InputScope = class
type InputScope = class
[<System.ComponentModel.TypeConverter("System.Windows.Input.InputScopeConverter, PresentationCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null")>]
type InputScope = class
Public Class InputScope
继承
InputScope
属性

注解

使用 InputScopeInputScope 属性来获取 InputScope 特定元素的。Use the InputScope and InputScope properties to get an InputScope for a particular element.

构造函数

InputScope()

初始化 InputScope 类的新实例。Initializes a new instance of the InputScope class.

属性

Names

获取或设置输入范围名称。Gets or sets the input scope name.

PhraseList

获取要由输入处理器用作推荐输入模式的词组集合。Gets a collection of phrases to be used as suggested input patterns by input processors.

RegularExpression

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

SrgsMarkup

获取或设置一个字符串,该字符串可指定要由输入处理器用作推荐输入模式的任意语音识别语法规范 (SRGS) 标记。Gets or sets a string that specifies any Speech Recognition Grammar Specification (SRGS) markup to be used as a suggested input pattern by input processors.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅