Using this as a guide:
http://support.microsoft.com/default...;EN-US;q302896
I am trying to implement an AddIn for outlook using C#. The sample is in
VB.NET, so I assume this has to be possible in C# as well.
I've added references to the AddInDesignerObjects, Outlook, annd Office.
I have a class which has as a base class and implements the
IDTExtensibility2 interface, and this is where I run into problems. There
are 5 methods to implement. Here's an example of one:
public override void OnAddInsUpdate(ref System.Array Custom)
{
}
Now, according to the Object Browser, the base implementation is:
public abstract new void OnAddInsUpdate(ref System.Array custom);
But, for my implementation, I get the message: "no suitable method found to
override". But, if I change the signature of the method (change parameter
types, method name, etc), I get the error: "'MyAddin.MyAddIn' does not
implement interface member
'Extensibility.IDTExtensibility2.OnAddInsUpdate(re f System.Array)"
Any ideas on what's wrong here?
Thanks.
Pete