Hi, Would anyone know how to properly hide classes, methods and properties from intellisense while preserving the ability to call them; and so they do not appear in interop assemblies that are generated from a type library?
I'm writing API hooks for automated testing we don't want exposed to consumers yet. This appears to work well from the built in SaxBasic editor our application comes with, but fails to hide the objects, methods and properties when a reference is added to our interop assembly.
Here's an example of how I'm attempting to hide these; 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 X.X.X."), hidden]//again tried [hidden] here, no luck
HRESULT Obj([out, retval] IObj** ppObj);
}