SemanticTextQuery 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
允許應用程式使用進階查詢語法 (AQS) 字串來執行文字查詢,並提供查詢中要採用的語言標籤選項。
public ref class SemanticTextQuery sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Data.Text.ISemanticTextQueryFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SemanticTextQuery final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Data.Text.ISemanticTextQueryFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class SemanticTextQuery final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Data.Text.ISemanticTextQueryFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SemanticTextQuery
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Data.Text.ISemanticTextQueryFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class SemanticTextQuery
function SemanticTextQuery(aqsFilter, filterLanguage)
Public NotInheritable Class SemanticTextQuery
- 繼承
- 屬性
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 引進)
|
建構函式
SemanticTextQuery(String) |
從進階查詢語法建立 SemanticTextQuery , (AQS) 查詢字串。 |
SemanticTextQuery(String, String) |
從進階查詢語法建立 SemanticTextQuery (AQS) 查詢字串和語言標記。 |
方法
Find(String) |
傳回符合 SemanticTextQuery 物件查詢的來源字串區段。 |
FindInProperty(String, String) |
傳回來源字串的區段,此區段符合 SemanticTextQuery 物件的查詢屬性。 |