ConvertToMIME not availabe from COM

Designer Help says nothing about this method not being available via COM, but when I create a NotesDocument (or IDocument) object this method is not listed.

Can anyone respond if there is an issue with the 8.5.1 COM interface? I created my Interop.Domino file using the domobj.tlb file in Notes 8.5.1.

Thanks,

Scott

Subject: Not entirely sure what you mean by “not listed.”

Do you mean in some sort of context help? Have you tried just typing the method call and arguments and testing whether it works?

Subject: VS 2010 says “no extension method ‘ConvertToMIME’ …could be found”

Hi Andre,Sorry that I missed your reply…

Here’s a little C# code snipet that illustrates what I mean:

NotesSession s = new NotesSession();

NotesDatabase db = s.GetDatabas(“”, “test.nsf”);

NotesDocumentCollection coll = db.AllDocuments;

NotesDocument doc = coll.GetFirstDocument();

doc.ConvertToMIME();

When I type “doc.” the type-ahead helper does not include ConvertToMIME as an available method. If I type it in as shown above VS reports the following error:

Error 2 ‘Domino.NotesDocument’ does not contain a definition for ‘ConvertToMIME’ and no extension method ‘ConvertToMIME’ accepting a first argument of type ‘Domino.NotesDocument’ could be found (are you missing a using directive or an assembly reference?) C:\Users\lemieuxs\Documents\Visual Studio 2010\Projects\ConsoleApplication1\ConsoleApplication1\Program.cs 50 21 ConsoleApplication1

This suggests to me that the method is not in the Type Library. fyi - I have recently updated to 8.5.2 and rebuilt my Interop DLL.

Thanks,

Scott