Returns a new ContactCollection object that contains only Contact objects that match a set of criteria, providing a filtered view of a collection of contacts.
| C# | Visual Basic |
public ContactCollection Restrict( string restriction )
Public Function Restrict ( _ restriction As String _ ) As ContactCollection
- restriction (String)
- A string that defines which items to match. This string must contain a Boolean expression that evaluates to either TRUE or FALSE for any item. You must enclose all property names in brackets. You can combine expressions with AND and OR. You can use the following comparison operators "<, <=, >, >=, =, <>"
[Missing <returns> documentation for "M:InTheHand.WindowsMobile.PocketOutlook.ContactCollection.Restrict(System.String)"]