SemanticTextQuery Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SemanticTextQuery(String) |
Creates a SemanticTextQuery from an Advanced Query Syntax (AQS) query string. |
SemanticTextQuery(String, String) |
Creates a SemanticTextQuery from an Advanced Query Syntax (AQS) query string and a language tag. |
SemanticTextQuery(String)
Creates a SemanticTextQuery from an Advanced Query Syntax (AQS) query string.
public:
SemanticTextQuery(Platform::String ^ aqsFilter);
SemanticTextQuery(winrt::hstring const& aqsFilter);
public SemanticTextQuery(string aqsFilter);
function SemanticTextQuery(aqsFilter)
Public Sub New (aqsFilter As String)
Parameters
- aqsFilter
-
String
Platform::String
winrt::hstring
An Advanced Query Syntax (AQS) string that contains the desired query. Learn more about AQS in Advanced Query Syntax (AQS).
See also
Applies to
SemanticTextQuery(String, String)
Creates a SemanticTextQuery from an Advanced Query Syntax (AQS) query string and a language tag.
public:
SemanticTextQuery(Platform::String ^ aqsFilter, Platform::String ^ filterLanguage);
SemanticTextQuery(winrt::hstring const& aqsFilter, winrt::hstring const& filterLanguage);
public SemanticTextQuery(string aqsFilter, string filterLanguage);
function SemanticTextQuery(aqsFilter, filterLanguage)
Public Sub New (aqsFilter As String, filterLanguage As String)
Parameters
- aqsFilter
-
String
Platform::String
winrt::hstring
An Advanced Query Syntax (AQS) string that contains the desired query. Learn more in Advanced Query Syntax.
- filterLanguage
-
String
Platform::String
winrt::hstring
The BCP-47 language tag to be employed in the query.
To see a list of the language tags specifically supported by the Microsoft Store, see Choosing your languages.
Remarks
filterLanguage permits queries to work with language differences. For example, if aqsFilter is "19,5" and filterLanguage is "pl" (Polish), a call to Find against text that includes "19.5" returns a text segment because it is understood that the comma is the decimal separator in Polish.