Closed ryangriggs closed 2 years ago
Hi @ryangriggs, please fix the problems in your source code: https://stackoverflow.com/search?q=CS1061
Hi, I'm reopening this to let you know that the RemoveStore function works if typed manually, but doesn't appear in the Autocomplete list. Please refer to this screenshot video: https://youtu.be/1KROZBTRBdI AddStore works as expected, but RemoveStore does not.
Thanks for your fast reply, and for any additional info. The NetOffice project is very helpful and I appreciate your work on this project.
I see the problem now, the standard Visual Studio IntelliSense will not display the method because it is marked as [EditorBrowsable(EditorBrowsableState.Never)]
. It looks like an error as the NameSpace.RemoveStore() method exists in the MS Outlook public API.
When using ReSharper it will display the method as it is public and it can be called.
Released in v1.9.0
NetVersion 1.8.1 I see the function declaration in https://github.com/NetOfficeFw/NetOffice/blob/603f7f5fd010f0055570a460e0cdc63b6ef60425/Source/Outlook/DispatchInterfaces/_NameSpace.cs#L616
But it yields the error: Severity Code Description Project File Line Suppression State Error CS1061 '_NameSpace' does not contain a definition for 'removeStore' and no accessible extension method 'removeStore' accepting a first argument of type '_NameSpace' could be found (are you missing a using directive or an assembly reference?) test D:\My Documents\Programming\test\V1\test\Form1.cs 52 Active
How to fix this?
Thanks!