Browse by Tags

Tagged Content List
  • Blog Post: Debugging LINQ-to-DASL Queries

    When your LINQ-to-DASL queries do not return the results you expect, how do you determine where the problem is?  The issue could be that the query simply doesn't do what you expect.  For example, you could be querying the wrong DASL properties and therefore Outlook returns no (or unexpected...
  • Blog Post: Filter Outlook Items by Date with LINQ to DASL

    I received an email over the weekend asking why the following LINQ to DASL query threw an exception: Outlook. Folder folder = (Outlook. Folder )Application.Session.GetDefaultFolder(Outlook. OlDefaultFolders .olFolderCalendar); var appointments = from item in folder.Items.AsQueryable<...
  • Blog Post: LINQ to DASL Walkthrough

    Now that the Office Interop API Extensions have been released , I thought I would post a complete walkthrough of a simple LINQ to DASL application. Let's start with my fictitious Outlook calendar: This calendar shows that I have four appointments today. The appointments have been categorized as...
  • Blog Post: Parameterized Properties and the Office Interop API Extensions

    One of the disadvantages of C# compared with VB is its lack of support for parameterized properties. Instead, parameterized properties in C# are exposed as normal method calls prefixed with "get_" and "set_". This is particularly apparent when working with the Office object model as it exposes many such...
  • Blog Post: Office Interop API Extensions Now Available!

    As announced in Andrew Whitechapel's post , version 1.0 of the VSTO Power Tools have been released! One of those tools is the Office Interop API Extensions, a set of libraries which extend the Office object model to simplify development on the Office platform. This past week I've blogged about the capabilities...
  • Blog Post: Using LINQ with the Office Object Model

    In my last post I talked about LINQ to DASL, a LINQ provider that converts query expressions into their DASL equivalent in order to efficiently filter item collections in Outlook. But LINQ to DASL solves only a very specific problem for one particular application. The Office object model has many types...
Page 1 of 1 (6 items)