SearchQueryLinguisticDetails.QueryTextCompositionLength 属性

定义

获取用户使用输入法编辑器 (输入法) 撰写的查询文本部分的长度。

public:
 property unsigned int QueryTextCompositionLength { unsigned int get(); };
uint32_t QueryTextCompositionLength();
public uint QueryTextCompositionLength { get; }
var uInt32 = searchQueryLinguisticDetails.queryTextCompositionLength;
Public ReadOnly Property QueryTextCompositionLength As UInteger

属性值

UInt32

unsigned int

uint32_t

用户使用输入法编辑器撰写的查询文本部分的长度 (输入法) 。

注解

重要

若要在应用中实现Windows 10或更高版本的搜索,请使用 AutoSuggestBox。 有关详细信息 ,请参阅自动建议框

不应在适用于 Windows 10 或更高版本的应用中使用 Windows.ApplicationModel.Search API (SearchPaneSearchContract) 或 SearchBox API。

适用于