Share via


IMLQuery::AndBSTR (Compact 7)

3/12/2014

This method adds a logical AND clause with a Basic string (BSTR) property type to the query.

Syntax

HRESULT AndBSTR(
  ULONG propertyID,
  MLOperatorType operatorType,
  BSTR bstrValue
);

Parameters

  • propertyID
    [in] ID of the property that the query evaluates.
  • operatorType
    [in] Member of the MLOperatorType enumeration that specifies how the query evaluates the property.
  • bstrValue
    [in] Value against which the query evaluates the property.

Return Values

Returns the HRESULT values shown in the following table.

Value Description

S_OK

The method was successful.

E_INVALIDARG

One or more parameters are invalid.

E_FAIL

The method was not successful.

E_MEMORY

An out of memory error occurred.

Requirements

Header

mlibdll.h,
mlibdll.idl

Library

mlibdll.lib

See Also

Reference

IMLQuery