How to get "Data Type" value of Body of a Lotus Notes Item using .NET?

Posted by Pari on Stack Overflow See other posts from Stack Overflow or by Pari
Published on 2009-09-15T09:09:09Z Indexed on 2010/03/22 7:11 UTC
Read the original article Hit count: 247

Filed under:
|

I am trying to get Data Type (Body Format) of Mail,Calendar e.t.c. Body.

Getting Body content as:

String Body = (string)((object[])docInbox.GetItemValue("Body"))[0];

or

String Body = docInbox.GetFirstItem("Body").Text;

I tried it using:

String bodyFormat = ((object[])docInbox.GetItemValue("Body"))[0].GetType().ToString();

But in this case i am getting "System.String" value.But actually it is : "Rich Text".

© Stack Overflow or respective owner

Related posts about c#

Related posts about lotus-notes