ICondition::Clone method (structuredquerycondition.h)
Creates a deep copy of this ICondition object.
Syntax
HRESULT Clone(
[out, retval] ICondition **ppc
);
Parameters
[out, retval] ppc
Type: ICondition**
Receives a pointer to the clone of this ICondition.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Because there are no methods for modifying an ICondition, there are few occasions when this method is necessary. In many cases it is adequate to call the IUnknown::QueryInterface method on the ICondition to obtain an additional reference to the same object.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP2, Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 with SP1 [desktop apps only] |
Target Platform | Windows |
Header | structuredquerycondition.h (include Structuredquery.h) |
Redistributable | Windows Desktop Search (WDS) 3.0 |
See also
Reference