[Mono-list] Undocumented classes?

Chris Hynes chrish@assistedsolutions.com
Wed, 29 Aug 2001 13:01:26 -0400


>>If I call this method using the classes provided with MS's .NET framework,
It will return a System.Configuration.ReadOnlyNameValueCollection. The
problem is, this class doesn't exist in their documentation anywhere.  Has
anyone else ran into a similar situation?<<
Having not examined the docs in depth, this is just personal opinion, but
what I believe is going on here is that the method returns a read only
collection/dictionary. Microsoft has written a class called
ReadOnlyNameValueCollection. ReadOnlyNameValueCollection probably inherits
from NameValueCollection, and overrides IsReadOnly to return true and write
members to raise exceptions.

Chris