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.

Creates a new TaskCollection object that contains only those Task items that match a set of filter criteria.

Assembly:Microsoft.WindowsMobile.PocketOutlook (in microsoft.windowsmobile.pocketoutlook.dll)



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 restriction string [Email1Address]<>"" , even though the value of Email1Address is not "".

Thread Safety

Any public static ( Sharedin Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also