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")]
[System.ComponentModel.TypeConverter("System.Windows.Input.InputScopeConverter, PresentationCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null")]
public class InputScope
type InputScope = class
Public Class InputScope
繼承
InputScope
屬性

備註

您可以使用InputScope InputScope和屬性來取得特定元素的。 InputScopeUse 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

取得或設定規則運算式 (Regular Expression),這個運算式要用做輸入處理器所建議的文字輸入模式。Gets or sets a regular expression to be used as a suggested text input pattern by input processors.

SrgsMarkup

取得或設定一個字串,這個字串指定要用做輸入處理器所建議之輸入模式的所有 Speech Recognition Grammar Specification (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)

適用於

另請參閱