|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
Assembly:Microsoft.WindowsMobile.PocketOutlook (in microsoft.windowsmobile.pocketoutlook.dll)
public TaskCollection Restrict ( string restriction )
Public Function Restrict ( _ restriction As String _ ) As TaskCollection
A string that defines which items to find. The string must contain a Boolean expression that evaluates to either TRUEor FALSEfor any item. Enclose property names between brackets, and enclose string property values between quotes. Comparison operators are the following "<, <=, >, >=, =, <>", and you can combine expressions with ANDand OR.
Return ValueThe Collection of Items matching the Restriction.
A restriction match requires that the item include a
value for the property. For example, if you do not set the e-mail
address for a contact, the contact will not be found using the
, even though the value of Email1Address is not