ICondition2::GetLocale method (structuredquerycondition.h)
Retrieves the property name, operation, and value from a leaf search condition node.
Syntax
HRESULT GetLocale(
[out, optional] LPWSTR *ppszLocaleName
);
Parameters
[out, optional] ppszLocaleName
Type: LPWSTR*
Receives the name of the locale of the leaf condition as a Unicode string. This parameter can be NULL.
Return value
Type: HRESULT
Returns S_OK if successful, E_FAIL if this is not a leaf node, or an error value otherwise.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | structuredquerycondition.h |
See also
Reference
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for