Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The get_Cond method retrieves a MetaPropertyCondition object, which can be used to compare this MetaProperty object to objects in a collection.
Syntax
HRESULT get_Cond(
BSTR bstrCond,
IMetaPropertyCondition** pppropcond
);
Parameters
bstrCond
[in] Specifies the desired comparison. This parameter must be one of the following strings.
Value | Description |
= | Equal |
!= or <> | Not equal |
< | Less than |
<= | Less than or equal |
> | Greater than |
>= | Greater than or equal |
LIKE | Matching character pattern. For more information, see the SQL Server documentation. |
NOT LIKE | Nonmatching character pattern |
pppropcond
[out] Address of a variable to receive the IMetaPropertyCondition interface of the object retrieved.
Return Values
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
S_OK | The method succeeded. |
E_INVALIDARG | bstrCond contains an invalid condition. |
E_OUTOFMEMORY | There is not sufficient memory to create the MetaPropertyCondition object. |
E_POINTER | Data cannot be read from or written to a supplied address. |
See Also