Export (0) Print
Expand All

ICondition::Clone method

Creates a deep copy of this ICondition object.

Syntax


HRESULT Clone(
  [out, retval] ICondition **ppc
);

Parameters

ppc [out, retval]

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

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 with SP1 [desktop apps only]

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Structuredquery.h

IDL

Structuredquery.idl

See also

Reference
ICondition
CONDITION_TYPE
CONDITION_OPERATION
ICondition2

 

 

Community Additions

ADD
Show:
© 2015 Microsoft