There is no property that holds an appointment's label text. The property
(not exposed in the Outlook object model) is a 32-bit integer that is part
of an enumeration. All you get is a value from the enumeration that
corresponds to the label color and text. For example, None = 0, Important =
1, Business = 2, etc.
The property is a named property that can be retrieved in Outlook 2007 using
the DASL property tag of
"http://schemas.microsoft.com/mapi/id/{00062002-0000-0000-C000-000000000046}/82140003"
(note that this is a string DASL property tag and not a URL).
You can retrieve this property using an alternate API such as CDO 1.21 or
Redemption (
www.dimastr.com/redemption), but not when using the Outlook
object model, except in Outlook 2007, where you can use that DASL property
tag with the PropertyAccessor object for the appointment item.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"dxider" <(E-Mail Removed)> wrote in message
news:18673AAC-32E5-402B-861C-(E-Mail Removed)...
> Thanks a lot for your help, I still can't get the appointment's label
> text,
> I'm thinking in implementing custom properties to solve this issue.
>
> --
> g
>
>
> "dxider" wrote:
>
>> Hi, im programming an AddIn that gets information abount appointment
>> items
>> and saves un-sync items to a SQL Server DataBase. All is working ok, but
>> now
>> I'm trying to get the appointment label text and can't find the exact
>> method
>> or propertie to get this information. If someone knows hot to get the
>> Label
>> text, please let me know, I´ve tried for about 3 days and not answer in
>> all
>> the internet.
>>
>> Thanks in advance.
>> --
>> Dream it, love it, CODE IT!!!!