InputLanguageManager.RegisterInputLanguageSource(IInputLanguageSource) 方法

定義

使用 InputLanguageManager 註冊輸入語言來源。Registers an input language source with the InputLanguageManager.

public:
 void RegisterInputLanguageSource(System::Windows::Input::IInputLanguageSource ^ inputLanguageSource);
public void RegisterInputLanguageSource (System.Windows.Input.IInputLanguageSource inputLanguageSource);
member this.RegisterInputLanguageSource : System.Windows.Input.IInputLanguageSource -> unit
Public Sub RegisterInputLanguageSource (inputLanguageSource As IInputLanguageSource)

參數

inputLanguageSource
IInputLanguageSource

物件,指定要註冊的輸入語言。An object that specifies the input language to register. 這個物件必須實作 IInputLanguageSource 介面。This object must implement the IInputLanguageSource interface.

例外狀況

inputLanguageSourcenull 時引發。Raised when inputLanguageSource is null.

適用於