ICondition::GetConditionType Method

Retrieves the condition type for this search condition node, identifying it as a logical AND, OR, or NOT, or as a leaf node.

Syntax


HRESULT GetConditionType(          CONDITION_TYPE *pNodeType
);

Parameters

pNodeType
[out, retval]  Receives the CONDITION_TYPE enumeration for this node.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The StructuredQuerySample code sample, available on Code Gallery and the Windows 7 SDK, demonstrates how to read lines from the console, parse them using the system schema, and display the resulting condition trees.

See Also

Community Additions

Show: