I am attempting to write a component in C# to be consumed by classic ASP that allows me to access the indexer of the component (aka default property).
For example:
Thanks to Rob Walker's tip, I got it working by adding the following method and attribute to MyCollection:
[DispId(0)] public string Item(string key) { return this[key]; }
Edit: See this better solution which uses an indexer.