Does anyone know how to properly hide classes, methods and properties from intellisense, while retaining the ability to name them; and therefore they do not appear in interop assemblies that are generated from the type library?
I am writing APIs for automatic testing, we donβt want to be shown to consumers yet. This seems to work well from the SaxBasic built-in editor that our application comes with, but will not hide objects, methods, and properties when the link is added to our interop assembly.
Here is an example of how I am trying to hide them; various permutations have been tried, thanks in advance!
[ object, uuid(guid), helpstring("help"), version(ver), dual, nonextensible, oleautomation, pointer_default(unique) ]IApplication.VisibleObj interface IObj : IDispatch { //tried [hidden] here, no luck [propget, id(91001), helpstring("Help str. Available as of Object Model Version XXX"), hidden]//again tried [hidden] here, no luck HRESULT Obj([out, retval] IObj** ppObj); }
c ++ interop com idl
BrMcMullin
source share