CoreTextServicesManager クラス

定義

Windows コア テキスト API とテキスト入力サーバーによって提供されるすべてのサービスへのエントリ ポイント。 このオブジェクトは、アプリケーションの UI スレッド ( CoreWindow が実行されるスレッド) に関連付けられています。

public ref class CoreTextServicesManager sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class CoreTextServicesManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class CoreTextServicesManager
Public NotInheritable Class CoreTextServicesManager
継承
Object Platform::Object IInspectable CoreTextServicesManager
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

注釈

この型のオブジェクトを取得するには、 CoreTextServicesManager.GetForCurrentView を呼び出します。

プロパティ

InputLanguage

現在の入力言語を表す Language オブジェクトを取得します。

メソッド

CreateEditContext()

テキスト入力サーバーと通信するためにテキスト入力コントロールによって使用されるコンテキスト オブジェクトを作成します。 各テキスト入力コントロールは、独自のコンテキスト オブジェクトを作成する必要があります。

GetForCurrentView()

現在アクティブなビューの CoreTextServicesManager オブジェクトを取得します。

イベント

InputLanguageChanged

現在の入力言語が変更されたときに発生します。

適用対象