문제

We are building an integration we Exchange 2010.

When we look at a contact through Outlook, there is a "Notes" field below the picture of the person, this contains update information.

We are able to find the data in the other fields but not this one. Anyone know what the field is called or where the data is stored.

도움이 되었습니까?

해결책

It is stored in a field called ContactSchema.Body which is not recognized as one of Contacts FirstClassProperties.

To include the Body property when loading a contact, you need to specify it.

Contact c = Contact.Bind(service, 
                         new ItemId(id), 
                         new PropertySet(BasePropertySet.FirstClassProperties,
                                         ContactSchema.Body ));

And you can now access c.Body without throwing an exception.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top