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

CONDITION_OPERATION

CONDITION_TYPE

ICondition

ICondition2

Reference