TextConversionGenerator 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public ref class TextConversionGenerator sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Data.Text.ITextConversionGeneratorFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class TextConversionGenerator final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Data.Text.ITextConversionGeneratorFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class TextConversionGenerator final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Data.Text.ITextConversionGeneratorFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class TextConversionGenerator
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Data.Text.ITextConversionGeneratorFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class TextConversionGenerator
function TextConversionGenerator(languageTag)
Public NotInheritable Class TextConversionGenerator
- 繼承
- 屬性
Windows 需求
裝置系列 |
Windows 10 (已於 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
|
建構函式
TextConversionGenerator(String) |
根據特定的BCP-47語言標記,建構TextConversionGenerator物件。 |
屬性
LanguageAvailableButNotInstalled |
判斷指定的語言標記是否可用於轉換,但未安裝在使用者的裝置上。 |
ResolvedLanguage |
取得成功建立 之 TextConversionGenerator 物件的語言標記。 |
方法
GetCandidatesAsync(String) |
根據提供的注音字元,以非同步方式取得候選字清單。 |
GetCandidatesAsync(String, UInt32) |
根據提供的注音字元,以非同步方式取得候選單字清單,最多可取得計數上限。 |