Microsoft DirectX 8.1 (C++)

MetaProperty.Cond

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The Cond property retrieves a newly created MetaPropertyCondition object, which can later be used to compare this MetaProperty object to MetaProperty objects contained within a MetaProperties object collection.

Syntax

objMetaProperty.Cond(cond As String) As MetaPropertyCondition

Parameters

cond

[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 Microsoft SQL Server documentation.
NOT LIKE Nonmatching character pattern.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

This property returns a MetaPropertyCondition object.

See Also